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 ------- Additional Comments From [EMAIL PROTECTED] 2003-11-19 12:20 ------- Please have a look at the revised patch (also see mailing list discussion). I have changed Oleg's suggested "TEST_EXTRA_INPUT" to "LOG_EXTRA_INPUT" (we always test but log only in strict mode), and reversed the "-1" to Integer.MAX_VALUE (terminates as opposed to the -1 solution, and saves one comparison per loop cycle). Moreover, there is no difference between empty and garbage lines anymore. Both of them are taken into account for LOG_EXTRA_INPUT, which makes no difference for lenient mode, anyway. The suggested CRLF-only checking is simply omitted, as it would make things just too complicated without any advantage (the connection is closed anyway in case of a wrong Content-Length header etc.). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]