Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352786 - GzipFilter fails to pass parameters to GzipResponseWrapper
Summary: GzipFilter fails to pass parameters to GzipResponseWrapper
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: other (show other bugs)
Version: 7.4.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 7.5.x   Edit
Assignee: Michael Gorovoy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-21 13:02 EDT by Michael Gorovoy CLA
Modified: 2011-07-21 14:34 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.