hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23703] - Freezes w/ MultiThreadedHttpConnectionManager
Date Thu, 09 Oct 2003 17:16:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23703>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23703

Freezes w/ MultiThreadedHttpConnectionManager





------- Additional Comments From olegk@apache.org  2003-10-09 17:16 -------
Can it be that your code does not execute HttpMethod#releaseConnection under 
some circumstances?

Usual method execution pattern should look something like that:

HttpClient httpclient = new HttpClient();
HttpMethod httpget = new GetMethod("http://www.whatever.com/");
try {
  httpclient.executeMethod(httpget);
} finally {
  httpget.releaseConnection();
}

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


Mime
View raw message