[GLASSFISH-17773] Glassfish Gzip is not working fine Created: 18/Nov/11  Updated: 08/Apr/13  Resolved: 08/Apr/13

Status: Resolved
Project: glassfish
Component/s: grizzly-kernel
Affects Version/s: 4.0_b80_EE7MS6
Fix Version/s: 4.0_b84_RC1

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

java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.8) (rhel-
OpenJDK Server VM (build 19.0-b09, mixed mode)
Centos 5.6(32)

Attachments: Zip Archive glassfish.zip    


I enabled gzip in glassfish after a fresh install(http://download.java.net/glassfish/3.1.1/release/glassfish-3.1.1.zip), but I fount it's not working fine.

I am using firefox yslow and google chrome yslow to test. Please look at the attachment for my setting and test result.

Comment by yhjhoo1986 [ 18/Nov/11 ]

It works in firefox. The screen shot was taking from chrome

Comment by danielaguil [ 10/Apr/12 ]

when header property Accept-encoding contains the value "gzip" and only this, compression works fine!


Comment by yhjhoo1986 [ 19/Apr/12 ]

What's that meaning? Do I need to change any config file to make it work?

Comment by Scott Oaks [ 23/Mar/13 ]

This is still an issue in current builds. Content will be gzipped correctly if the header comes in as
Accept-Encoding: gzip

But not for a variety of other formats, including the common:
Accept-Encoding: compress;q=0.5, gzip;q=1.0

Comment by oleksiys [ 28/Mar/13 ]

in v4 workspace this issue is related to

Generated at Sat Apr 18 23:45:35 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.