I just downloaded the connectors source... (i never thought i would do
that...)

After having a glimpse at the code I can tell the following:

you can set an attribute "compression" to either "on", "off" or "force"

I don't know what the class FakeOutputStream in the
GZipOutputFilter.java might be by now...

Anyway... Let's try brute "force"... Maybe something happens. ;-)
Although somewhere in the code it says that "force" was just for testing
purposes... and seems to be not 100% anyway yet... Guess that's why it's
"alpha".

Michael


> -----Original Message-----
> From: Marco Baiguera [mailto:[EMAIL PROTECTED]] 
> Sent: Donnerstag, 30. Januar 2003 15:57
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: Re: Tomcat 4.1.18/19 - How to activate gzip support?
> 
> 
> from 4.1.19 LE (windows) default server.xml
> 
> <Connector 
> className="org.apache.coyote.tomcat4.CoyoteConnector" 
> acceptCount="100" bufferSize="2048" 
>  compression="off" connectionTimeout="20000" debug="0" 
> disableUploadTimeout="true" enableLookups="true" 
>  maxKeepAliveRequests="100" maxProcessors="75" 
> minProcessors="5" port="8080" 
>  
> protocolHandlerClassName="org.apache.coyote.http11.Http11Proto
> col" proxyPort="0" 
>  redirectPort="8443" scheme="http" secure="false" 
> tcpNoDelay="true" useURIValidationHack="false">
> 
> i guess the "compression" parameter could enable gzip 
> compression. setting to "on" has no effect. 
> later i'll try compression="gzip"....
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to