You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/10/22 13:15:27 UTC
DO NOT REPLY [Bug 23998] New: -
mod_proxy truncates status line header causing warning in log files
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=23998>.
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=23998
mod_proxy truncates status line header causing warning in log files
Summary: mod_proxy truncates status line header causing warning
in log files
Product: Apache httpd-2.0
Version: 2.0.47
Platform: PC
URL: http://article.gmane.org/gmane.comp.apache.mod-proxy/561
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: mod_proxy
AssignedTo: bugs@httpd.apache.org
ReportedBy: Voicie@hotmail.com
Situation:
Client requests JSP page to local apache server (2.0.47). Local apache server
forwards mod_proxy) this request to a central apache server (2.0.47) which is
connected by mod_jk2 (2.0.2) to tomcat 4.1.24.
When the local apache server receives its response, the request-response status
line is malformed and a warning is generated in the apache error log file.
The JSP application works fine, but our log files are clogged with these
warnings as every JSP request generates one. We are talking about a major
enterprise-wide global system.
Examining this problem showed that the error is caused by the fact that
mod_proxy is cleaning up/ignoring the trailing space in the status
line:"HTTP/1.1 200 ". It only seems to see or evaluate "HTTP/1.1 200".
I read that mod_jk omits the reponse-phrase ("OK" in this case) but this should
(according to standards) not be a problem when at least a trailing space is
added. By tracing the connactions I can see the 'space' in the response status
line before it enters apache.
Either mod_proxy filters out the space or the incoming status line is
incorrectly evaluated.
The error message is generated in
httpd-2.0.47/modules/proxy/proxy_http.c line 761
For more information, please check
http://article.gmane.org/gmane.comp.apache.mod-proxy/561
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org