ChunkedInputStream.java.diff is a patch for the 12607 bug. The solution was proposed by the bug submitter and I've verified it as well.
Simple real-world test to verify the bug and the fix: .../jakarta-commons/httpclient/target/examples$ java -classpath .;../classes;../../lib/commons-logging.jar TrivialApp http://slashdot.org TestStreams.java is updated to include a test of this as well (and a small fix to the suite() method so that the test is executed at all! :). Splitting the testChunkedInputStream into several methods (or tests) might be good. The two other diffs are for a typo in a trace output in HttpConnection and a typo in the syntax description of TrivialApp. Kindly, /M ------------ Martin Elwin @N59.29606 E18.08052 (WGS-84)
ChunkedInputStream.java.diff
Description: Binary data
HttpConnection.java.diff
Description: Binary data
TrivialApp.java.diff
Description: Binary data
TestStreams.java.diff
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>