You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2012/11/08 11:44:50 UTC
svn commit: r1407006 - /httpd/httpd/trunk/server/vhost.c
Author: sf
Date: Thu Nov 8 10:44:49 2012
New Revision: 1407006
URL: http://svn.apache.org/viewvc?rev=1407006&view=rev
Log:
log client error at level debug, log broken Host header value
Modified:
httpd/httpd/trunk/server/vhost.c
Modified: httpd/httpd/trunk/server/vhost.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/vhost.c?rev=1407006&r1=1407005&r2=1407006&view=diff
==============================================================================
--- httpd/httpd/trunk/server/vhost.c (original)
+++ httpd/httpd/trunk/server/vhost.c Thu Nov 8 10:44:49 2012
@@ -754,8 +754,9 @@ static void fix_hostname(request_rec *r)
bad:
r->status = HTTP_BAD_REQUEST;
- ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(00550)
- "Client sent malformed Host header");
+ ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(00550)
+ "Client sent malformed Host header: %s",
+ r->hostname);
return;
}