Community
Participate
Working Groups
When using minGzipSize init param with the IncludableGzipFilter, all content seems to be compressed regardless of minGzipSize setting. Scenario: The configuration for IncludeableGzipFilter mimeTypes: application/soap+xml excludedAgents: MSIE 6.0 minGzipSize: 2048 unchckedPrintWriter: true Sending a javascript file at size 1024, gets compressed down to 403 bytes. Even tho the original javascript file is both under the minGzipSize and also not present in the mimeTypes init configurable.
The propagation of minGzipSize, mimeTypes, and bufferSize in the IncludableGzipFilter#IncludableResponseWrapper seems to be at blame.
Created unit test to verify failure to honor minGzipSize. Fixed setting of minGzipSize + bufferSize + mimeTypes in new IncludableGzipWrapper.