[GLASSFISH-19354] HTTP Double Gzip Compression Created: 17/Nov/12 Updated: 12/Mar/13 Resolved: 12/Mar/13
|Affects Version/s:||3.1.2, 18.104.22.168|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Amazon Linux 2012 09
|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 22.214.171.124 and access index.html page. Now switch on compression and the output will be garbled.
domain.xml compression settings are:
|Comment by oleksiys [ 19/Nov/12 ]|
Related to Grizzly issue
|Comment by oleksiys [ 12/Mar/13 ]|
fixed in GF 4