Merged revision 1350294 from tomcat/trunk: Improve InternalNioInputBuffer#parseHeaders() Move the code and s/end/pos/ This fixed CVE-2012-2733 Apache Tomcat Denial of Service