DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5549>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5549

Binary file upload through mod_webapp fails

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE



------- Additional Comments From [EMAIL PROTECTED]  2002-01-03 17:25 -------
Pier fixed this a while back.  Here's the patch:

Index: catalina/src/share/org/apache/catalina/connector/warp/WarpRequest.java  
===================================================================  
RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/java/WarpRequest.java,v  
retrieving revision 1.9  
retrieving revision 1.10  
diff -u -r1.9 -r1.10  
--- catalina/src/share/org/apache/catalina/connector/warp/WarpRequest.java 
200\1/07/25 22:32:05     1.9  
+++ catalina/src/share/org/apache/catalina/connector/warp/WarpRequest.java 
200\1/10/19 19:18:28     1.10  
@@ -139,7 +139,7 @@  
                 throw new IOException("Invalid WARP packet type for body");  
 
             if (this.packet.pointer<this.packet.size) 
-                return((int)this.packet.buffer[this.packet.pointer++]); 
+                return(((int)this.packet.buffer[this.packet.pointer++])&0x0ff)\; 
 
             this.packet.reset(); 
             this.packet.setType(Constants.TYPE_CBK_READ); 

*** This bug has been marked as a duplicate of 3534 ***

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

Reply via email to