You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2004/06/06 10:36:55 UTC
DO NOT REPLY [Bug 29408] New: -
HttpClient fails to read status line correctly.
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: commons-httpclient-dev@jakarta.apache.org
ReportedBy: lior.meir111@comverse.com
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: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org