2012/9/29 Florian Fray <f...@itcf.biz>: > Dear TC Devs, > > while looking around in TC 7 I've found no possibility to plug-in a custom > compression filter. > > So I've had a quick look at the code to find out that the gzip-handling is > coded into AbstractHttp11Processor.
Only HTTP protocol management is performed by AbstractHttp11Processor. The gzip support is just an org.apache.coyote.http11.OutputFilter. > Though I could create a custom processor, I'd like to know whether there's > any interest in having the standard processors supporting custom compressions. > There might be an interest, but until it is really requested by someone, and someone takes the time to implement it (aka scratch their own itch), very little can be done. Do you care to explain what "custom" compressions do you need? Can you propose a patch? If you need help to understand Tomcat code / writing a patch, just ask on this list. 2012/9/30 Jess Holle <je...@ptc.com>: > It is quite possible to write a custom compression filter as a servlet > filter that will work across multiple servlet engines. > +1. There is a sample gzip filter in the examples webapp (compressionFilters.CompressionFilter). There exists a gzip filter in the Ehcache project. It is likely that there are others as well. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org