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

   **[Julien 
Coloos](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cyrius)** 
opened 
**[HTTPCORE-573](https://issues.apache.org/jira/browse/HTTPCORE-573?redirect=false)**
 and commented
   
   The FileContentDecoder.transfer function has the 'count' parameter 
indicating the maximum number of bytes to transfer.
   Implementations (LengthDelimitedDecoder and IdentityDecoder) don't respect 
this parameter when getting the data from the internal buffer: in practice the 
whole buffer content is transferred, thus the actual number of bytes 
transferred may exceed the maximum requested by caller.
   
   Since the way data are read from the buffer can be limited, it is possible 
to respect the requested 'count'.
   
   
   ---
   
   **Affects:** 4.4.11
   
   **Remote Links:**
   - [GitHub Pull Request `#114`
   ](https://github.com/apache/httpcomponents-core/pull/114)
   - [GitHub Pull Request `#114`
   ](https://github.com/apache/httpcomponents-core/pull/114)
   
   **Backported to:** 
[4.4.12](https://github.com/apache/httpcomponents-core/milestone/49?closed=1)
   


-- 
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