tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret McDanel" <>
Subject InputStream problem in 4.0/4.0.1 (others?)
Date Sun, 04 Nov 2001 12:33:20 GMT
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

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message