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

   **[Sergey 
Stremin](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=stremin)** 
opened 
**[HTTPCORE-167](https://issues.apache.org/jira/browse/HTTPCORE-167?redirect=false)**
 and commented
   
   Problem was found in the following setting: client makes request to server, 
server reports and closes connection 5 seconds after response.
   Second request from client results in NoHttpResponseException (retries are 
disabled).
   AbstractHttpClientConnection.isStale() only reports true when IOException is 
thrown by inbuffer.isDataAvailable(1). In this case no exception is thrown, but 
read() method returns -1 which goes unnoticed.
   
   
   ---
   
   **Affects:** 4.0-beta2
   
   **Attachments:**
   - 
[stalecheck.patch](https://issues.apache.org/jira/secure/attachment/12386624/stalecheck.patch)
 (_8.95 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