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=28354>. 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=28354 unable to find line starting with "HTTP" message when timeout occurs ------- Additional Comments From [EMAIL PROTECTED] 2004-04-12 21:57 ------- Daniel, I seem unable to reproduce the problem. if I set socket timeout to a ridiculously small value, this is what I get: [DEBUG] HttpConnection - -HttpConnection.setSoTimeout(1) [DEBUG] HttpMethodBase - -Execute loop try 1 [DEBUG] HttpMethodBase - -Adding Host request header [DEBUG] HttpMethodBase - -Closing the connection. [INFO] HttpMethodBase - -Recoverable exception caught when processing request [WARN] HttpMethodBase - -Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception Exception in thread "main" org.apache.commons.httpclient.HttpRecoverableException: java.io.InterruptedIOException: Read timed out at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1933) at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2627) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1061) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497) at Test.main(Test.java:27) It does seem that the problem is in fact caused by the server dropping connection before sending a status line, not a timeout. Am I missing something? You are using 2.0-final, right? Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]