tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wakeup <ala...@euskalnet.net>
Subject Re: AXIS: tomcat always do http compression without watch min size
Date Fri, 06 Oct 2006 11:52:16 GMT

Thanks but I don't want disable compress, because I want compress when the
lenght exceeds a limit.

In the client I can't disable response chuked?



Tim Funk wrote:
> 
> you won't be able to disable the chunked encoding.
> 
> But you can disable the compression by ensure the client does NOT send a 
> "accept-encoding" header with the a value containing "gzip" or by using 
> the noCompressionUserAgents, compressableMimeType attributes on the 
> connector.
> 
> -Tim
> 
> wakeup wrote:
>> Thanks, I think you are right. Axis don't set content-leght because it is
>> sending response chunked. Where do I have to disable chunk in the axis
>> server o in the client?
>>
>> Thankss
>>
>>
>> Tim Funk wrote:
>>   
>>> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/AXIS%3A-tomcat-always-do-http-compression-without-watch-min-size-tf2386947.html#a6677693
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


Mime
View raw message