On Mon, Apr 20, 2009 at 10:57:22AM -0400, Rakesh Sinha wrote: > For a particular case where I am using a http client reference ( > multi-threaded context ) and would like to close and release all the > active connections at a given instant. > > I had written the code as - > > getHttpClient().getHttpConnectionManager().closeIdleConnections(0L); > > I am just curious what the implications of the same ( passing in 0 as > the minimum idle time for connections to be closed) . Would it close > all existing idle connections right away. Thanks.
Yes, it would. Oleg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
