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

   **[Richie 
Jefts](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rjefts)** 
opened 
**[HTTPCORE-218](https://issues.apache.org/jira/browse/HTTPCORE-218?redirect=false)**
 and commented
   
   If the data to write is greater than the size of the buffer used by the 
ChunkEncoder, then the write method returns the size of the data requested to 
write instead of the size of the data actually written.
   
   I first noticed the problem when using FileChannel.transferTo and 
ChunkEncoder. The transferTo fails because it depends on a correct return value 
from write.
   
   
   ---
   
   **Affects:** 4.0.1, 4.1-alpha1
   
   **Attachments:**
   - [patch](https://issues.apache.org/jira/secure/attachment/12437500/patch) 
(_1.50 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