tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49860] getParameters() fails on chunked POST requests with trailers
Date Sun, 07 Nov 2010 07:14:41 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49860

--- Comment #1 from Konstantin Kolinko <knst.kolinko@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


Mime
View raw message