summaryrefslogtreecommitdiffstats
path: root/server/vhost.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2012-11-08 11:44:49 +0100
committerStefan Fritsch <sf@apache.org>2012-11-08 11:44:49 +0100
commita686e267b5e735805572adc1c6f2205a56c3f3a6 (patch)
tree241beef20903ded7cba442be3b29a8f93b4c6585 /server/vhost.c
parentRemove unused code. "Next week" hasn't happened in the last 10 years or so. (diff)
downloadapache2-a686e267b5e735805572adc1c6f2205a56c3f3a6.tar.xz
apache2-a686e267b5e735805572adc1c6f2205a56c3f3a6.zip
log client error at level debug, log broken Host header value
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1407006 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--server/vhost.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/vhost.c b/server/vhost.c
index 302e4084a3..fd7c0ad646 100644
--- a/server/vhost.c
+++ b/server/vhost.c
@@ -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;
}