jira-importer opened a new issue, #1419:
URL: https://github.com/apache/httpcomponents-core/issues/1419

   **[Mick 
Timony](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=micktimony)**
 opened 
**[HTTPCORE-175](https://issues.apache.org/jira/browse/HTTPCORE-175?redirect=false)**
 and commented
   
   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.
   
   
   ---
   
   **Affects:** 4.0-beta3
   
   **Attachments:**
   - 
[hc3x-truncated-chunks.patch](https://issues.apache.org/jira/secure/attachment/12392342/hc3x-truncated-chunks.patch)
 (_2.60 kB_)
   - 
[httpcore-truncated-chunk.patch](https://issues.apache.org/jira/secure/attachment/12392343/httpcore-truncated-chunk.patch)
 (_5.19 kB_)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to