Issue Details (XML | Word | Printable)

Key: GLASSFISH-19354
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: oleksiys
Reporter: arosso
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

HTTP Double Gzip Compression

Created: 17/Nov/12 07:54 PM   Updated: 12/Mar/13 08:24 PM   Resolved: 12/Mar/13 08:24 PM
Component/s: grizzly-kernel
Affects Version/s: 3.1.2,
Fix Version/s: 4.0

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive (164 kB) 17/Nov/12 07:54 PM - arosso


Amazon Linux 2012 09

Tags: grizzly http gzip
Participants: arosso and oleksiys

 Description  « Hide

See: for discussion.

The Grizzly http listener does not detect that a response is already Gzipped and gzips it again causing the output to be garbled. This did not use to happen in Glassfish 2.1.x but seems to happen in 3.1.x.

To reproduce deploy the attached web app directory into Glassfish and access index.html page. Now switch on compression and the output will be garbled.

domain.xml compression settings are:

<http ... compression="on" compressable-mime-type="text/html,text/xml,text/javascript,text/css">

oleksiys added a comment - 12/Mar/13 08:24 PM

fixed in GF 4

oleksiys added a comment - 19/Nov/12 10:29 AM