httpClient.getHttpConnectionManager().closeIdleConnections(); --Noble
On Sat, Apr 18, 2009 at 1:31 AM, Rakesh Sinha <rakesh.use...@gmail.com> wrote: > When we instantiate a commonshttpsolrserver - we use the following method. > > CommonsHttpSolrServer server = new CommonsHttpSolrServer(this.endPoint); > > how do we do we a 'kill all' of all the underlying httpclient connections ? > > server.getHttpClient() returns a HttpClient reference, but I am trying > to figure out the right method to close all currently active > httpclient connections . > -- --Noble Paul