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

   **[Maurizio 
Sartori](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=masar)** 
opened 
**[HTTPCORE-156](https://issues.apache.org/jira/browse/HTTPCORE-156?redirect=false)**
 and commented
   
   NHttpClient never terminate when a timeout happen.
   
   To recreate the problem change the line
   new InetSocketAddress("www.yahoo.com", 80),
   and set an IP that does not exists
   new InetSocketAddress("10.15.2.32", 80),
   
   Compile an run:
   
   Connection open: [www.google.com/209.85.129.104:80]
   
   ---
   
   Sending request to http://www.google.ch
   
   ---
   
   ---
   
   HTTP/1.1 200 OK
   
   ---
   
   Document length: 6675
   
   ---
   
   Connection open: [www.apache.org/140.211.11.130:80]
   
   ---
   
   Sending request to http://www.apache.org
   
   ---
   
   ---
   
   HTTP/1.1 200 OK
   
   ---
   
   Document length: 17972
   
   ---
   
   Connection timed out: [closed]
   Connection closed: [closed]
   Connection timed out: [closed]
   Connection closed: [closed]
   
   And it never terminates.
   
   
   ---
   
   **Affects:** 4.0-beta1
   


-- 
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