On 4/6/2011 3:51 PM, Tim Whittington wrote:
> b) Check the input buffer at the end of the loop in
> Http11Processor#process() and process the next request if there is any
> data in the input buffer.
> - No Increase in memory requirements.
> - Fixes issue 3
> - Pipelined requests will get processed earlier (before they would have
> been placed at the back of the request processing queue)
>
> I think option b) is the way to go to fix issue
+1
It's an unfair scheduling, but given issue 2 that's a fairly moot
point with the BIO connector.
sounds reasonable. this is how we used to do it (we may still) in APR.
it avoids one context switch not needed, and in NIO we could do this too, since
we can even check the network buffer without blocking
best
Filip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org