users@glassfish.java.net

Gzip encoding

From: Patrick Julien <pjulien_at_spectrumdt.com>
Date: Sun, 21 Sep 2008 09:34:08 -0400

I've been able to get gzip encoding to work but the server performs the gzip
compression if and only if the port is specified.

I have glassfish v2ur2 on Linux. The http listener is on port 8080 and I'm
using iptables to redirect port 80 to port 8080 in order to avoid running
glassfish as root.

Now, if I access the server by http://x.y.z.w:8080, the http response is
encoded with gzip. Accessing the server with only http://x.y.z.w however I
get a response that isn't encoded with gzip.

Must something specific be done in the configuration of the http listener
here or is this a bug?

-- 
http://www.spectrumdt.com
http://codepimps.org