hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@apache.org>
Subject Re: Any known issues with Http Core NIO and tomcat 5.2.3?
Date Thu, 14 Oct 2010 14:55:30 GMT
Hi Oleg
> Apparently the limit value on the ByteArray instance is miscalculated
> for some reason. At this moment I can't think of a cause leading to such
> condition. So, a reproducer would be very help.
         // subtract the length of the longest chunk header
         // 12345678\r\n
         avail -= 10;

Should the above be avail -= 12 since we need to terminate the chunk 
with another \r\n ?


Asankha C. Perera
AdroitLogic, http://adroitlogic.org


To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message