On May 12, 2009, at 12:18 AM, Igor Minar wrote:
>
> I built a simple grizzly webserver:
>
>
> GrizzlyWebServer ws = new GrizzlyWebServer(port, canonicalPath);
> ws.setMaxThreads(threadCount); //set to 50
> ws.getSelectorThread().setBufferSize(bufferSize); //set to 81000
> //optionally: ws.getSelectorThread().setAsyncHttpWriteEnabled(true);
> ws.start();
the full diff is here:
https://kenai.com/hg/grizzly-sendfile~mercurial/
rev/a9d29369226c
/i