Hi,
I use an instance of HttpClient to execute multiple methods from multiple
threads.
cm = new PoolingClientConnectionManager();
cm.setMaxTotal(20);
httpclient = new DefaultHttpClient(cm);
I release the connection by calling releaseConnection() on the method after the
response body has been read.
// Release connection
EntityUtils.consume(entity);
httpget.releaseConnection();
As I am using the PoolingClientConnectionManager I am not sure if I still need
to call "httpclient.getConnectionManager().shutdown()"
because I released the connection by calling releaseConnection(). Could someone
clarify that?
Regards, Flavio