hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HTTPCORE-156) NHttpClient never terminate on timeout
Date Sat, 29 Mar 2008 23:01:24 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCORE-156.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0-beta2

Maurizio,

I applied a fix for the problem to the SVN trunk. Could you please review / test the fix and
let me know if that solved the problem for you?

Oleg

> 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