hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Golovanov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1301) HttpClient -> local address binding does not work correctly
Date Mon, 21 Jan 2013 15:30:12 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13558837#comment-13558837
] 

Oleg Golovanov commented on HTTPCLIENT-1301:
--------------------------------------------

I got what the problem is) 
Thank you, Oleg)

I created connection manager ( size=10 ), several clients ( each with its unique local address
), and several workers.
Each worker takes random client and executes the request.
So, at one time its possible that one client can be executed by up to 10 workers in parallel.
At another time another client can be executed by up to 10 workers in parallel.
Thats why, all 10 connections in manager can not be keep-alived, they are closing/creating
all the time.

Sorry for bothering you)

                
> HttpClient -> local address binding does not work correctly
> -----------------------------------------------------------
>
>                 Key: HTTPCLIENT-1301
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1301
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient, HttpConn
>    Affects Versions: 4.2.3
>         Environment: Linux ( Debian ) x64, Java SE 1.7.0_05 x64, apache http client 4.2.3
>            Reporter: Oleg Golovanov
>              Labels: httpclient
>
> Here it is:
> http://stackoverflow.com/questions/14419555/apache-http-client-local-address-bind-bindexception-after-some-time

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message