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=29408>.
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=29408

HttpClient fails to read status line correctly.

           Summary: HttpClient fails to read status line correctly.
           Product: Commons
           Version: 2.0 Final
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: HttpClient
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


HttpClient executes a GET method.
The web server returns a valid HTTP/1.1 200 OK response (verified using 
Ethereal).
The executeMethod does not return and after TIMEOUT there is an IOException.
Looking at the HttpClient log file I see that the client read [0x0]TTP/1.1 200 
OK.
The cleint didn't recognize this as an HTTP response and so didn't know when 
the response ended and kept listening.
The exact log line is below -
2004-06-06 08:33:42,057 [Message Dispatcher] DEBUG httpclient.wire - << "[0x0]
TTP/1.1 200 OK[\r][\n]"

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

Reply via email to