hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <http-as...@dubioso.net>
Subject Re: How to override releaseConnection in MultiThreadedHttpConnectionManager
Date Sat, 27 Jan 2007 13:55:59 GMT
Hello Ashesh,

> public class MyManager extends MultiThreadedHttpConnectionManager
> 	public void releaseConnection(HttpConnection conn) {
> 		super.releaseConnection(conn);
> 		conn.close()
> 	} 
> }

Close the connection _before_ calling super.releaseConnection().

cheers,
  Roland

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


Mime
View raw message