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-11 07:47 ------- Oleg, I don't think that it would be a good idea to make that a configurable parameter. RFC2616 states that the very first line of the response _must_ be the status line (No CR or LF is allowed before that). But I guess that you have made bad experiences with some servers, that is why you have implemented the loop readStatusLine at all, haven't you? If so, then maxLinesToInspect should be set to a reasonable, fixed value (any value between 2 and 5 should be ok), because if the loop _is_ looping, you are already breaking the standard (a strict-mode check would make sense here!) If not, we can remove the loop completely (and can forget that configurable parameter :-) Christian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]