[
https://issues.apache.org/jira/browse/HTTPCLIENT-804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mick Timony updated HTTPCLIENT-804:
-----------------------------------
Description:
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.
was:
In one of our production environments we are seeing a random issue with
incomplete content 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 chuck.
I will provide and example and associated unit test in comments below.
> ChunkedInputStream Accepts Corrupted Chunked Input
> ---------------------------------------------------
>
> Key: HTTPCLIENT-804
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-804
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 3.1 Final
> Environment: httpClient 3.1
> Reporter: Mick Timony
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]