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/12/30 21:58:39 UTC

svn commit: r1426988 - /httpd/httpd/trunk/server/vhost.c

Author: sf
Date: Sun Dec 30 20:58:39 2012
New Revision: 1426988

URL: http://svn.apache.org/viewvc?rev=1426988&view=rev
Log:
remove comment; empty host headers can happen in proxy requests

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=1426988&r1=1426987&r2=1426988&view=diff
==============================================================================
--- httpd/httpd/trunk/server/vhost.c (original)
+++ httpd/httpd/trunk/server/vhost.c Sun Dec 30 20:58:39 2012
@@ -815,10 +815,7 @@ static int fix_hostname(request_rec *r, 
 
     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;
     }