You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2008/11/24 10:36:44 UTC

[jira] Resolved: (HTTPCORE-175) ChunkedInputStream Accepts Corrupted Chunked Input

     [ https://issues.apache.org/jira/browse/HTTPCORE-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCORE-175.
----------------------------------------

    Resolution: Fixed

Closing as fixed

Oleg

> 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