You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bret McDanel <bm...@hotmail.com> on 2001/11/04 13:33:20 UTC
InputStream problem in 4.0/4.0.1 (others?)
I discovered that a problem that existed in the ajp13 connector also appears
in another place in the code. When you do a request.getInputStream().read()
some data will cause that to return a -1 even though there is more data to
be read.
The solution before (ajp13) was to AND the byte being returned with 0xFF.
I am running tomcat 4.0.1 (4.0 is also affected on this system).
Apache/1.3.22 on x86 linux (I am unsure if this problem is on other
platforms as well ....)
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>