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: cstoe...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to