You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Maurizio Sartori (JIRA)" <ji...@apache.org> on 2008/03/31 13:34:24 UTC
[jira] Commented: (HTTPCORE-156) NHttpClient never terminate on
timeout
[ https://issues.apache.org/jira/browse/HTTPCORE-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583643#action_12583643 ]
Maurizio Sartori commented on HTTPCORE-156:
-------------------------------------------
Hi Oleg,
now it works as expected.
Please correct NHttpSSLClient.java too.
Thanks
> NHttpClient never terminate on timeout
> --------------------------------------
>
> Key: HTTPCORE-156
> URL: https://issues.apache.org/jira/browse/HTTPCORE-156
> Project: HttpComponents HttpCore
> Issue Type: Bug
> Components: Examples, HttpCore NIO
> Affects Versions: 4.0-beta1
> Environment: Linux
> java version "1.6.0_03"
> Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
> Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)
> Reporter: Maurizio Sartori
> Fix For: 4.0-beta2
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org