Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352786

Summary: GzipFilter fails to pass parameters to GzipResponseWrapper
Product: [RT] Jetty Reporter: Michael Gorovoy <mgorovoy>
Component: otherAssignee: Michael Gorovoy <mgorovoy>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 7.4.4   
Target Milestone: 7.5.x   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Gorovoy CLA 2011-07-21 13:02:59 EDT
On Thu, Jul 21, 2011 at 7:03 AM, Guy Korland <Guy@gigaspaces.com> wrote:

It seems like there’s a self-assignment bug in GzipFilter:
 
            {
                _mimeTypes = GzipFilter.this._mimeTypes;
                _bufferSize = GzipFilter.this._bufferSize;
                _minGzipSize = GzipFilter.this._minGzipSize;
            }
Comment 1 Michael Gorovoy CLA 2011-07-21 13:04:03 EDT
It appears that using setter methods instead of direct assignment makes it work correctly.
Comment 2 Michael Gorovoy CLA 2011-07-21 13:07:52 EDT
This also affects o.e.j.server.handler.GzipHandler.
Comment 3 Michael Gorovoy CLA 2011-07-21 14:34:36 EDT
This has been fixed for Jetty v7.5.0.