tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David J. Marcus" <>
Subject Bug report: HTTPS buffer contains trailing x'00' after 4096 bytes
Date Mon, 18 Jul 2005 19:21:14 GMT


I am upgrading from Tomcat 4.1 to Tomcat 5.5.9 on Linux (RedHat 3).


I have a client application that is compiled using JDK 1.5 which sends
URL-encoded data to the server using HTTPS POST requests.


Under Tomcat 5.5.9, large POST buffers (> 4096 bytes) contain trailing
hex zeros. After a closer investigation, it is consistent that all bytes
past the 4096 offset in the buffers are hex zero.


When the same client sends POST data (of all sizes) to the Tomcat 4.1
version, the entire POST contents arrive correctly as seen by my
application (compiled under JDK 1.4).


Any ideas on

1-       how to debug this problem?

2-       how to get around this bug?



The bug is 100% reproducible on my system.




  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message