You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "zzzhc (JIRA)" <ji...@apache.org> on 2007/08/30 16:58:31 UTC

[jira] Created: (HTTPASYNC-11) BufferingHttpClientHandler resolve the host name for by ip address,this spend too long time

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


[jira] Moved: (HTTPCORE-113) BufferingHttpClientHandler resolving host name for ip address takes too long

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski moved HTTPASYNC-11 to HTTPCORE-113:
-----------------------------------------------------

    Component/s:     (was: HttpAsync)
                 HttpCore NIO
            Key: HTTPCORE-113  (was: HTTPASYNC-11)
        Project: HttpComponents Core  (was: HttpComponents Async)

> BufferingHttpClientHandler resolving host name for ip address takes too long
> ----------------------------------------------------------------------------
>
>                 Key: HTTPCORE-113
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-113
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>         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


[jira] Updated: (HTTPASYNC-11) BufferingHttpClientHandler resolving host name for ip address takes too long

Posted by "Ortwin Glück (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPASYNC-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ortwin Glück updated HTTPASYNC-11:
----------------------------------

    Summary: BufferingHttpClientHandler resolving host name for ip address takes too long  (was: BufferingHttpClientHandler resolve the host name for by  ip address,this spend too long time)

> BufferingHttpClientHandler resolving host name for ip address takes too long
> ----------------------------------------------------------------------------
>
>                 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


[jira] Resolved: (HTTPCORE-113) BufferingHttpClientHandler resolving host name for ip address is not needed

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCORE-113.
----------------------------------------

    Resolution: Fixed

Applied a fix to the SVN trunk

Oleg 

> BufferingHttpClientHandler resolving host name for ip address is not needed
> ---------------------------------------------------------------------------
>
>                 Key: HTTPCORE-113
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-113
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha5
>         Environment: ubuntu7.04 jdk1.5.0_09
>            Reporter: zzzhc
>            Priority: Minor
>             Fix For: 4.0-alpha6
>
>
> 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


[jira] Updated: (HTTPCORE-113) BufferingHttpClientHandler resolving host name for ip address is not needed

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski updated HTTPCORE-113:
---------------------------------------

        Fix Version/s: 4.0-alpha6
             Priority: Minor  (was: Major)
    Affects Version/s: 4.0-alpha5
              Summary: BufferingHttpClientHandler resolving host name for ip address is not needed  (was: BufferingHttpClientHandler resolving host name for ip address takes too long)

> BufferingHttpClientHandler resolving host name for ip address is not needed
> ---------------------------------------------------------------------------
>
>                 Key: HTTPCORE-113
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-113
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha5
>         Environment: ubuntu7.04 jdk1.5.0_09
>            Reporter: zzzhc
>            Priority: Minor
>             Fix For: 4.0-alpha6
>
>
> 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