tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51513] New: GzipInterceptor: Do not compress small packages
Date Fri, 15 Jul 2011 10:53:41 GMT

             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
    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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message