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=18573>. 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=18573 http proxy doesn't handle responses w/o reason phrase Summary: http proxy doesn't handle responses w/o reason phrase Product: Apache httpd-2.0 Version: 2.0.44 Platform: All URL: http://www.yahoogroups.com OS/Version: All Status: NEW Severity: Normal Priority: Other Component: mod_proxy AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] yahoogroups return response lines as HTTP/1.1 200 that make the proxy fail, the patch below fakes a reason phrase Bye, - Salva --- proxy_http.c~ Fri Nov 8 10:24:00 2002 +++ proxy_http.c Tue Apr 1 18:10:14 2003 @@ -766,7 +766,13 @@ r->status = atoi(&buffer[9]); buffer[12] = keepchar; - r->status_line = apr_pstrdup(p, &buffer[9]); + + if (keepchar) { + r->status_line = apr_pstrdup(p, &buffer[9]); + } + else { + r->status_line = apr_pstrcat(p, &buffer[9], " Unknow reason", NULL); + } /* read the headers. */ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
