malaysf opened a new pull request, #550:
URL: https://github.com/apache/tomcat/pull/550

   Fixing a bug where a connection would be kept alive without swallowing the 
input from the request stream.
   
   When a request comes in with a 100 Continue expectation, and the server 
immediately responds with a 200 status without reading the request body at all, 
the next request on the connection will fail because Tomcat cannot parse the 
HTTP verb. The first request left Http11Processor in a state where it kept the 
connection alive but did not discard the request body, thus reading the next 
request began at the wrong place in the stream.
   
   The new unit test replicates the issue and is addressed by the code changes 
to keep the keepAlive and input buffer swallow state in sync with each other.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to