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 28354] New: - unable to find line starting with "HTTP" message when timeout occurs
Date Mon, 12 Apr 2004 20:33:03 GMT
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

           Summary: unable to find line starting with "HTTP" message when
                    timeout occurs
           Product: Commons
           Version: 2.0 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HttpClient
        AssignedTo: commons-httpclient-dev@jakarta.apache.org
        ReportedBy: daniel.amadei@click21.com.br


When the HttpClient.setTimeout is set and the response takes more time than the 
timeout be sent the following exception is thrown. I believe that a better 
description should be provided as this error is generated due to the timeout 
restriction and not a response problem.

0 [main] WARN httpclient.HttpMethodBase  - Response content length is not known
5812 [main] INFO httpclient.HttpMethodBase  - Discarding unexpected response: 
HTTP/1.1 100 Continue
10812 [main] INFO httpclient.HttpMethodBase  - Recoverable exception caught 
when processing request
10812 [main] WARN httpclient.HttpMethodBase  - Recoverable exception caught but 
MethodRetryHandler.retryMethod() returned false, rethrowing exception
java.lang.Exception: org.apache.commons.httpclient.HttpRecoverableException: 
org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the 
status  line from the response: unable to find line starting with "HTTP"
	at HTTPClientRequester.post(HTTPClientRequester.java:236)
	at HTTPClientRequester.main(HTTPClientRequester.java:172)
Exception in thread "main"

---------------------------------------------------------------------
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