Hello. 8-)
 I'm not subscribed to this list, so please CC me.
 Here's a patch to allow catalina (both 4.0 and 4.1 in CVS) http
requests to carry data with their 8th bit set. The old code returns
the bytes in the range from -128 to 127, while java.io.InputStream
must return 0 to 255.
 I didn't search around for similar bugs.
 Enjoy. 8-)


                            Jacek Kopecky
                               Idoox


--- HttpRequestStream.java.old  Tue Feb 20 20:14:33 2001
+++ HttpRequestStream.java      Tue Feb 20 20:15:19 2001
@@ -206,7 +206,7 @@
                     return (-1);
             }
             
-            return (chunkBuffer[chunkPos++]);
+            return (chunkBuffer[chunkPos++] & 0xff);
             
         } else {
             
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to