On 13 Nov 2013, at 5:38 PM, Oleg Kalnichevski <[email protected]> wrote:
>>
>> How can we be sure that the TCP connection with a host is shut down
>> immediately, after we finish our batch of consecutive fetches?
>>
>
> NHttpClientConnectionManager#closeIdleConnections(
> 0, TimeUnit.MILLISECONDS)
>
> is what you want.
Now, just out of curiosity and because I coulnd't follow the code: when does
the (default) connection manager decide that a particular connection is idle?
When we switch to another host?
Ciao,
seba
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]