hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mick Timony (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCORE-175) ChunkedInputStream Accepts Corrupted Chunked Input
Date Fri, 17 Oct 2008 19:45:44 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640642#action_12640642

Mick Timony commented on HTTPCORE-175:

>Fix for Commons HttpClient 3.1. Please review. 
The fix for httpClient 3.1 appears to work correctly and works correctly for any use cases
I can fathom. However, please don't close this yet as I am going to do a complete rebuild
of packages we have that depend on httpClient (which may highlight any deficiencies that might
exist in the patch). This may not be complete until Wednesday.

Do you know when a 3.1.1 release will be available? I presume that it's not going to be released
in the near future and that I should plan on patching httpClient for our internal use until
3.1.1 is released.

I will also test with httpClient  4 beta and let you know if I find any issues and update

BTW, thanks for fixing this so quickly. :)


> ChunkedInputStream Accepts Corrupted Chunked Input 
> ---------------------------------------------------
>                 Key: HTTPCORE-175
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-175
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore
>    Affects Versions: 4.0-beta3
>         Environment: httpClient 3.1
>            Reporter: Mick Timony
>             Fix For: 4.0-beta4
>         Attachments: hc3x-truncated-chunks.patch, httpcore-truncated-chunk.patch
> In one of our production environments we are seeing a random issue where incomplete content
is being received on a server which we have narrowed down to httpClient's ChunkedInputStream.

> If a corrupted and incomplete chunk is sent to httpClient it will be accepted as the
final chunk in the stream under the condition that the reported chunk's size is greater than
the actual size of the chunk.
> I will provide and example and associated unit test in comments below.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message