hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zzzhc (JIRA)" <j...@apache.org>
Subject [jira] Created: (HTTPASYNC-11) BufferingHttpClientHandler resolve the host name for by ip address,this spend too long time
Date Thu, 30 Aug 2007 14:58:31 GMT
BufferingHttpClientHandler resolve the host name for by  ip address,this spend too long time
--------------------------------------------------------------------------------------------

                 Key: HTTPASYNC-11
                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-11
             Project: HttpComponents Async
          Issue Type: Bug
          Components: HttpAsync
         Environment: ubuntu7.04 jdk1.5.0_09
            Reporter: zzzhc


in 
public void connected(final NHttpClientConnection conn, final Object attachment) 

HttpHost host = new HttpHost(address.getHostName(), port);

this will spend too many time,and block the thread(if use ip address connect to host)

user can set httphost in HttpRequestExecutionHandler.initalizeContext
so i think  resolve hostname is not needed

-- 
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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Mime
View raw message