Hi Chris,
I wanted to reply yesterday but the Tomcat mailing list server deemed
my office mail server as a spammer server and I couldn't reply. I
checked the code and unfortunately you have to modify the connector code
too because the filters are added in there manually not read from a
directory or any other way that is externally configurable. So at best
I'd need to add two lines to the connector but the encoding string is
also hardwired in the connector code, so it needs a bit more coding to
make it possible to use both or switch to deflate. Anyhow we found an
ActionScript (Adobe Flash/Air) implementation of gzip so we're OK for
the moment.
Regards,
Morc.
On 2/18/2009 21:09, Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Morc,
On 2/17/2009 8:07 AM, Gabor 'Morc' KORMOS wrote:
So basically you say code it for yourself by modifying the HTTP connector?
Tomcat's existing gzip is implemented as an OutputFilter. You might want
to browse the source for that before you go messing around with the HTTP
connector. I'm not sure how the GzipOutputFilter hooks into the HTTP
response, though.
org/apache/coyote/http11/filters/GzipOutputFilter.java
- -chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org