[GLASSFISH-19354] HTTP Double Gzip Compression Created: 17/Nov/12  Updated: 12/Mar/13  Resolved: 12/Mar/13

Status: Resolved
Project: glassfish
Component/s: grizzly-kernel
Affects Version/s: 3.1.2,
Fix Version/s: 4.0

Type: Bug Priority: Major
Reporter: arosso Assignee: oleksiys
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Amazon Linux 2012 09

Attachments: Zip Archive doublecompression-test.zip    
Tags: grizzly, gzip, http


See: http://www.java.net/forum/topic/glassfish/glassfish/glassfish-double-compression 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">

Comment by oleksiys [ 19/Nov/12 ]

Related to Grizzly issue

Comment by oleksiys [ 12/Mar/13 ]

fixed in GF 4

Generated at Mon May 04 05:29:53 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.