DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24560>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24560 HttpClient loops endlessly while trying to retrieve status line Summary: HttpClient loops endlessly while trying to retrieve status line Product: Commons Version: Nightly Builds Platform: All URL: http://localhost:19 OS/Version: All Status: NEW Severity: Normal Priority: Other Component: HttpClient AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When fed with the wrong URL, for example http://localhost:19/ (chargen port), HttpClient will loop endlessly while attempting to read the status line. This is caused by a bug in HttpMethodBase.readStatusLine(HttpState, HttpConnection) (while loop without any exceptional abort condition). wire log excerpt: 2003/11/10 12:33:04:085 CET [DEBUG] HttpMethodDirector - -Execute loop try 1 2003/11/10 12:33:04:312 CET [DEBUG] wire - ->> "GET / HTTP/1.1[\r][\n]" 2003/11/10 12:33:04:351 CET [DEBUG] HttpMethodBase - -Adding Host request header 2003/11/10 12:33:04:532 CET [DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient[\r][\n]" 2003/11/10 12:33:04:554 CET [DEBUG] wire - ->> "Host: localhost:19[\r][\n]" 2003/11/10 12:33:04:559 CET [DEBUG] wire - ->> "[\r][\n]" 2003/11/10 12:33:04:639 CET [DEBUG] wire - -<< "!"#$%&'()*+,-./0123456789:;<=>[EMAIL PROTECTED]" 2003/11/10 12:33:04:669 CET [DEBUG] wire - -<< ""#$%&'()*+,-./0123456789:;<=>[EMAIL PROTECTED]" 2003/11/10 12:33:04:673 CET [DEBUG] wire - -<< "#$%&'()*+,-./0123456789:;<=>[EMAIL PROTECTED]" 2003/11/10 12:33:04:692 CET [DEBUG] wire - -<< "$%&'()*+,-./0123456789:;<=>[EMAIL PROTECTED]" 2003/11/10 12:33:04:698 CET [DEBUG] wire - -<< "%&'()*+,-./0123456789:;<=>[EMAIL PROTECTED]" 2003/11/10 12:33:04:703 CET [DEBUG] wire - -<< "&'()*+,-./0123456789:;<=>[EMAIL PROTECTED]" <snip> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]