On Wed, 2008-03-19 at 14:31 +0100, Thierry Boileau wrote: > Hello all, > > After some tests, I noticed that the HttpClient hangs in the case the > server sends a response with informational status and at the same time > does not support persistent connections. I recognize that this case is > quite unusual or unpractical however it leads to block the client. > > I wonder if the behaviour of the > org.apache.commons.httpclient.HttpMethodBase#readResponse method could > not be improved by just adding a call to the "shouldCloseConnection" > method after checking sthe status code. > if ((status >= 100) && (status < 200)) { > if(shouldCloseConnection(conn)){ > break; > } > > best regards, > Thierry Boileau >
Thierry, We no longer fix all but most serious bugs in the 3.x codeline. Please test against the latest 4.0 release or better the SVN snapshot. Oleg > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]