Hi,

I added a bug report for tomcat 3.2 (#536). The "How to reproduce"
field wasn't added to the report from the form and I haven't found a way to
add it from the browser. So here are some additional hints:

The error occurs, cause I'm using ServletInputStream.read(byte[] b, int off,
int len),
not ServletInputStream.readLine. The read method is inherited from
java.io.InputStream
and the code of Ajp13ConnectorRequest.doRead returns, when there is #FF (=
-1) in
the file (the byte value is casted to int and compared to -1 ???). So it
fails
every time a file with a #FF is uploaded. I commented out the check against
-1
in doRead and I have no problems now.

Bye,

Hans

---
Dipl.-Inf. Hans Schuell
Siemens AG, MED GT 3                        tel: +49 (0)9131 - 84-2382
P.O. BOX 3260                               fax: +49 (0)9131 - 84-4771
D-91050 Erlangen                   e-mail: [EMAIL PROTECTED]

Reply via email to