Hi,

On Mon, Aug 12, 2013 at 5:07 PM, Ushani Balasooriya <[email protected]> wrote:

> What is the real use case of compressionMinSize property in
> catalina-server.xml in AS ?
>
> As per the apache tomcat documentation 
> [1<http://tomcat.apache.org/tomcat-7.0-doc/config/http.html>],
> compressionMinSize defined as,
>
> If *compression* is set to "on" then this attribute may be used to
> specify the minimum amount of data before the output is compressed. If not
> specified, this attribute is defaults to "2048".
>
> But eventhough I send my request which is less than or greater than the
> defined compressionMinSize size, still my sent message will be gzip
> compressed, when I define compression="on".
>
It should work as described in the docs.  May be you can give a larger
value to compressionMinSize and test.

I think default value is in bytes, so it's only 2KB.

>
> Is this expected?
>
> [1] http://tomcat.apache.org/tomcat-7.0-doc/config/http.html
>
>
> --
> *Ushani Balasooriya*
> Software Engineer - QA;
> WSO2 Inc; http://www.wso2.com/.
> Mobile; +94772636796
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

Twitter: http://twitter.com/chrishantha | LinkedIn:
http://lk.linkedin.com/in/chrishantha/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to