2015-05-27 20:22 GMT+02:00 Mark Thomas <[email protected]>:

> On 27/05/2015 18:45, [email protected] wrote:
> > Author: remm
> > Date: Wed May 27 17:45:31 2015
> > New Revision: 1682087
> >
> > URL: http://svn.apache.org/r1682087
> > Log:
> > Avoid IO peeking with NIO2 to read the request line (introduced in
> r1681742), as the processor and its buffer is no longer associated and may
> not be the one processing the request.
>
> Are you sure this is necessary? If a non-blocking read is issued the
> read is into the read buffer in the socket wrapper not directly into the
> Http11InputBuffer.
>
> Ok, you are correct, since the read call doesn't hang on to the buffer it
gets, I can remove the code. It does feel weird though.

Rémy

Reply via email to