Gyorgy Gyepesi wrote:
> 
> URGENT!!!! PLEASE SEND REPLY ASAP!!
> 
> The ServletInputStream implementation reports EOF once a byte of value 0xff
> appears in the request body (of content-type application/octet-stream
> without content-endcoding); the probable cause is the following line in
> 
> org.apache.catalina.connector.warp.WarpRequest:
> 
>             if (this.packet.pointer<this.packet.size)
>                 return((int)this.packet.buffer[this.packet.pointer++]);
> 
> instead of
> 
>             if (this.packet.pointer<this.packet.size)
>                 return(0xff &
> (int)this.packet.buffer[this.packet.pointer++]);
> 
> (WarpRequest from
> http://cvs.apache.org/viewcvs/jakarta-tomcat-4.0/catalina/src/share/org/apac
> he/catalina/connector/warp/WarpRequest.java?rev=1.8&content-type=text/vnd.vi
> ewcvs-markup
> )
> 
> This behaviour MAKES Tomcat UNUSABLE for clients sending binary data in the
> POST request body.

That was fixed in jakarta-tomcat-connectors...
And in
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/src/webapp-module-1.0.1-tc401-src.tar.gz

> 
> Regards
> 
> Gyorgy
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to