users@grizzly.java.net

Re: SelectorThread.setCompression("on");

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 11 Feb 2008 17:27:12 -0500

Alan Williamson wrote:
> okay ... some information here :)
>
> the st.setCompression("force"); does indeed do EVERYTHING!!
>
> so i set that back to "on" and then it died again, irrespective of the
> size threshold.
>
> however, as soon as i set the
>
> st.setCompressableMimeTypes("text/xml");
>
> it all burst into life!!! It would appear this call is required.
>
> Is there any stats i can get back from the engine to tell me how much
> data i am saving by GZIP'ing? or the number of GZIP responses sent?

No of them are supported right now, but that shouldn't be a problem to
add support. Can you file an rfe here (so we don't forget :-))

https://grizzly.dev.java.net/issues/

Thanks!

-- Jeanfrancois



>
> Oleksiy Stashok wrote:
>> You're typing very fast :)
>>
>> Please try to set also compressable mime type, if you have one not in
>> set: text/html,text/xml,text/plain.
>> Also, to make sure it's a bug - set
>>
>> st.setCompression("force");
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>