jira-importer opened a new issue, #1532: URL: https://github.com/apache/httpcomponents-core/issues/1532
**[Flash Networks](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=flash)** opened **[HTTPCORE-20](https://issues.apache.org/jira/browse/HTTPCORE-20?redirect=false)** and commented If writeTo() was executed once, but the post message was not sent for some reason (e.g. SocketTimeOut) - on retry the body of post message was not sent because InputStream pointer was on the end and consumed=true The attached class contains the fix - lines: instream.reset(); //line 79 this.consumed = false; //line 80 in addition it contains inner class ResetableInputStream that extends the InputStream class and implements the intstream.reset() --- **Affects:** 4.0-alpha2 **Attachments:** - [InputStreamEntity.java](https://issues.apache.org/jira/secure/attachment/12346155/InputStreamEntity.java) (_6.15 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]
