https://issues.apache.org/bugzilla/show_bug.cgi?id=54947

--- Comment #1 from Konstantin Preißer <prei...@web.de> ---
Created attachment 30272
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30272&action=edit
Patch for trunk

Hi,

I can reproduce the issue with current trunk and Tomcat 7.0.40.

Attached is a patch against trunk that fixes the issue for me by resolving a
logic error in InternalNioInputBuffer ("end = 0" was set twice: when starting
to read the HTTP version up to \r, and after the \n has been received; which
meant "end" was set to the position of "\n" instead of "\r", causing the
version string to be "HTTP/1.1\r" instead of "HTTP/1.1").

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to