tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51513] New: GzipInterceptor: Do not compress small packages
Date Fri, 15 Jul 2011 10:53:41 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51513

             Bug #: 51513
           Summary: GzipInterceptor: Do not compress small packages
           Product: Tomcat 6
           Version: 6.0.29
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Cluster
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: cstoeber@amaris.de
    Classification: Unclassified


As Mark said (see 51475) here is the new bug record.

Because it's not desirable and efficient to compress small packages, I've
modified the GzipInterceptor that it compresses only packages with a size
greater than 2048 bytes. Based on org.apache.coyote.http11.Http11Protocoll this
value is user configurable.

To distinguish if data is compressed or not, I've added a small one byte
header, which defines if the data is compressed or not.

I'm also recording some stats, which can be disabled.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message