carterkozak opened a new pull request, #372: URL: https://github.com/apache/httpcomponents-client/pull/372
Previously writeTo would conditionally delegate to the wrapped entity if the provided outputstream was non-null, however in the null case the entity would not be drained and the connection would be released potentially with bytes remaining. If this occurs in practice, it may result in timeouts as the server expects to write data to the response while the client is attempting to send a request. I haven't seen this create issues in practice, but I noticed the oddity while working on #371. -- 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]
