hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <o...@ok2consulting.com>
Subject Re: AbstractNIOConnPool and leasingRequests
Date Wed, 29 Apr 2015 09:36:06 GMT


On Tue, Apr 28, 2015 at 9:14 AM, Tomas Tunkl <tunkl.tomas@gmail.com> 
wrote:
> Hi,
> 
> I have some problems with ApacheAsyncHttpClient. I have tracked the 
> problems to one specific place I am interested in.
> 
> In AbstractNIOConnPool I can see that I have in leasingRequests 112 
> entries. I have searched the code and couldnt find how the entries 
> are processed. I believe that request gets to leasingRequests when it 
> cannot get connection, because all are used. But when the requests 
> gets another chance? It seems to me, that it is stuck there forever.

Leasing requests are processed by #processNextPendingRequest and 
#processPendingRequests methods.

Oleg


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


Mime
View raw message