summaryrefslogtreecommitdiffstats
path: root/server/vhost.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2012-12-30 21:58:39 +0100
committerStefan Fritsch <sf@apache.org>2012-12-30 21:58:39 +0100
commit4b5fd517b22ef1f3356f21fd1fc261c6546f8442 (patch)
tree71f2a5a173e0ba8b4739478cc64fbc91756bc466 /server/vhost.c
parentWiden strip pattern to also match MOD_XML2ENC_LDADD. (diff)
downloadapache2-4b5fd517b22ef1f3356f21fd1fc261c6546f8442.tar.xz
apache2-4b5fd517b22ef1f3356f21fd1fc261c6546f8442.zip
remove comment; empty host headers can happen in proxy requests
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426988 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/vhost.c')
-rw-r--r--server/vhost.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/server/vhost.c b/server/vhost.c
index fca2d331a3..ebce5e9d0e 100644
--- a/server/vhost.c
+++ b/server/vhost.c
@@ -815,10 +815,7 @@ static int fix_hostname(request_rec *r, const char *host_header,
src = host_header ? host_header : r->hostname;
- /* According to RFC 2616, Host header field CAN be blank.
- * XXX But only 'if the requested URI does not include an Internet host
- * XXX name'. Can this happen?
- */
+ /* According to RFC 2616, Host header field CAN be blank */
if (!*src) {
return is_v6literal;
}