dev@grizzly.java.net

Async HTTP responses

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Wed, 26 Nov 2008 16:04:28 +0100

Hi,

I've add support for async HTTP responses.
The async HTTP response feature could be set using system properties,
or programatically:
selectorThread.setAsyncHttpWriteEnabled(true);

It's also possible to tune the max number of bytebuffers stored in pool.
SocketChannelOutputBuffer.setMaxBufferPoolSize(...)

Default value is: 16384 (which is probably more than enough).

Here, I attach the diff file

Will appreciate the feedback.

Thanks.

WBR,
Alexey.