Re: Non-Blocking IO Issue

2013-08-16 Thread Daniel Mikusa
On Aug 16, 2013, at 12:32 PM, Mark Thomas wrote: > On 16/08/2013 17:08, Daniel Mikusa wrote: >> I have a simple echo servlet which uses the Servlet 3.1 Non-Blocking IO API. >> It creates a ReadListener, that reads the request's input, buffers it, >> creates a WriteListener that takes the buffe

Re: Non-Blocking IO Issue

2013-08-16 Thread Mark Thomas
On 16/08/2013 17:08, Daniel Mikusa wrote: > I have a simple echo servlet which uses the Servlet 3.1 Non-Blocking IO API. > It creates a ReadListener, that reads the request's input, buffers it, > creates a WriteListener that takes the buffered input and echoes it back to > the response. > > Mo

Non-Blocking IO Issue

2013-08-16 Thread Daniel Mikusa
I have a simple echo servlet which uses the Servlet 3.1 Non-Blocking IO API. It creates a ReadListener, that reads the request's input, buffers it, creates a WriteListener that takes the buffered input and echoes it back to the response. Most of the time this works OK, but when I send a reques