tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <p...@betaversion.org>
Subject Re: InputStream problem in 4.0/4.0.1 (others?)
Date Mon, 05 Nov 2001 13:22:59 GMT
GOMEZ Henri at hgomez@slib.fr wrote:

>> -----Original Message-----
>> From: Bret McDanel [mailto:bmcdanel@hotmail.com]
>> Sent: Sunday, November 04, 2001 1:33 PM
>> To: tomcat-user@jakarta.apache.org
>> Subject: 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 ....)
> 
> Are you speaking of mod_jk + ajp13 + tomcat 4.0.1 and also
> mod_webapp + warp + tomcat 4.0.1 ?

At least for WebApp we fixed it 3/4 weeks ago... Right after 4.0.1 came out.
(talk about being in sync with releases, huh? :)

    pier


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message