hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maurizio Sartori (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCORE-156) NHttpClient never terminate on timeout
Date Tue, 01 Apr 2008 10:46:32 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584103#action_12584103
] 

Maurizio Sartori commented on HTTPCORE-156:
-------------------------------------------

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


Mime
View raw message