hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalnichevski, Oleg" <oleg.kalnichev...@bearingpoint.com>
Subject [PATCH] Chunk encoded POST request is not properly terminated. ATTN: Ortwin
Date Thu, 12 Dec 2002 17:48:46 GMT
Ortwin
I know you do not like this kind of solution to this problem. I whole-heartedly agree it's
ugly. However, for the time being I can't see a better, cleaner solution which would not call
for substantial refactoring of the existing interfaces. 

I believe we should patch the bug before the release, and then devise a better solution when
working on the 2.1 version. Ugly code that works still (marginally) better than cleaner one
that does not

Please use ChunkedPostTest.java testcase in order to reproduce the problem. Be warned: it
may take a while before the improperly closed chunk encoded request times out

The patch attached below should fix the bug, albeit in an ugly way
 <<ChunkedPostTest.java>>  <<postmethod.patch>> 

Mime
View raw message