DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35944>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35944





------- Additional Comments From [EMAIL PROTECTED]  2005-08-01 17:58 -------
An infinite redirect would certainly keep your only connection open forever and
keep it from being returned to the pool. There is an option to limit the maximum
number of redirects and to allow circular redirects. Normally circular redirects
are not allowed and lead to an exception. If you did not change any parameters
then a circular redirect should not happen. If you have used the finally clause
correctly your connection will be returned to the pool and there is no problem.
Without seeing the code I can not tell more...

The two options are controlled like this:

HttpClient client = new HttpClient(mtcm);
client.getParams().setParameter("http.protocol.max-redirects", new Integer(10));
client.getParams().setParameter("http.protocol.allow-circular-redirects",
Boolean.FALSE);

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to