compressionMinSize only works with fixed file sizes. If axis is NOT
setting the ContentLength before serving back results - then
compressionMinSize can't be checked to see if compression can be done.
And then compression will be done based on the client input headers.
-Tim
wakeup wrote:
> Hi,
>
> I have an apache tomcat 5.5.17. In my server.xml file I have put
>
> <Connector port="8080" maxHttpHeaderSize="8192"
> maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
> enableLookups="false" redirectPort="8443" acceptCount="100"
> connectionTimeout="20000" disableUploadTimeout="true"
> compression="on"
> *compressionMinSize="2048000" *
> noCompressionUserAgents="gozilla, traviata"
> compressableMimeType="text/html,text/xml,text/plain,application/dime"
> />
>
> It run sucessfull with normal html tomcat pages. But when I ask to axis 1.4
> webservices it always compress the response althought it be less than 1kb.
> Why axis don't respect compressionMinSize parameter?
> Thanks
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|