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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to