You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/11/07 08:14:41 UTC

DO NOT REPLY [Bug 49860] getParameters() fails on chunked POST requests with trailers

https://issues.apache.org/bugzilla/show_bug.cgi?id=49860

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> 2010-11-07 02:14:34 EST ---
Created an attachment (id=26265)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26265)
2010-11-07_tc7_49860_r1003461_testcase.patch

Re: r1003461
A testcase that demonstrates that the current TC7 solution for this issue
(r1003461) is broken.

It is a modification of the existing test case. I split the original request
into two packets and added more text to it.

Expected behaviour: Success of the test.
Actual behaviour: java.net.SocketTimeoutException: Read timed out
This happens because CRLF symbols are overwritten when copying the text around
the buffer (because of wrong offsets etc.) and thus Tomcat misses the chunk end
and reads for more data.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org