tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret McDanel" <bmcda...@hotmail.com>
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 http://explorer.msn.com/intl.asp


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message