jira-importer opened a new issue, #780: URL: https://github.com/apache/httpcomponents-core/issues/780
**[Adam Bryzak](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=abryzak)** opened **[HTTPCORE-191](https://issues.apache.org/jira/browse/HTTPCORE-191?redirect=false)** and commented Similar to [HTTPCORE-190](https://issues.apache.org/jira/browse/HTTPCORE-190), SocketHttpClientConnection, or more specifically AbstractHttpClientConnection.receiveResponseHeader() does not store state of the current request being read, meaning a SocketTimeoutException occurring while reading the status line or any of the headers will cause a retry to start reading the next part of the data as if it were the status line when the call is retried. This is not causing an issue for me personally. I only spotted it when I was testing the fix to [HTTPCORE-190](https://issues.apache.org/jira/browse/HTTPCORE-190) by writing the response 1 byte at a time with a timeout being caused for each byte. I am unsure of any web servers that may have a delay when writing the status line and/or headers that would cause a timeout. --- **Affects:** 4.0 **Attachments:** - [HttpCore_191.java](https://issues.apache.org/jira/secure/attachment/12401828/HttpCore_191.java) (_2.80 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]
