users@grizzly.java.net

SelectorThread.setCompression("on");

From: Alan Williamson <alan_at_blog-city.com>
Date: Mon, 11 Feb 2008 13:51:11 +0000

Can some explain how outgoing compression is suppose to work within Grizzly?

I *think* i may have misunderstood it. I have it set to on, and
compress anything above 15KB. However nothing is being compressed.

I take it then when i do something like this:

    OutputBuffer buffer = response.getOutputBuffer();
    buffer.doWrite(chunk, response);

Grizzly isn't automatically compressing this if the outgoing client
supports GZIP?

does that mean i have to manage this myself?

thanks

-- 
Alan Williamson
  Professional Self Publishing Packages
    http://www.Blog-City.com/
  myBlog = 'http://alan.blog-city.com/';