users@glassfish.java.net

Re: Double compression conundrum

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 18 Dec 2008 09:48:40 -0500

Salut,

glassfish_at_javadesktop.org wrote:
> Looking at the grizzly source it was seen that "Content-Encoding" set to "deflate" or "gzip" are not equivalent. In particular, if the header contains "gzip" grizzly unconditionally skips the compression filter, but if it is "deflate" it does not.
>
> I guess "gzip" is the defacto standard for http 1.1, but it appears to be a simple bug that "deflate" is also not recognized.
>
> So switching to gzip is a work around, although if I had zillions of already deflated blobs this would not really be satisfactory.

Thanks for the investigation. I will produce a patch and attach it to
the issue you filed:

https://grizzly.dev.java.net/issues/show_bug.cgi?id=360

Please try it and let me know.

A+

-- Jeanfrancois

> [Message sent by forum member 'hanafey' (hanafey)]
>
> http://forums.java.net/jive/thread.jspa?messageID=322367
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>