Ajpv13's read() is returning signed data to the servlet.  
This is a problem (especially with, how did you guess,
binary file uploads) because byte 0xFF will be mistaken as EOF.

The solution is to return legal data bytes unsigned by
casting to char.

The 3.3 patch is here-
http://www.apache.org/~keith/jk/signed_error/unsigned33.txt

For details on reproducing the bug and a patch for 3.2:
http://www.apache.org/~keith/jk/signed_error/

Keith

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to