httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1426988 - /httpd/httpd/trunk/server/vhost.c
Date Sun, 30 Dec 2012 20:58:39 GMT
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;
     }



Mime
View raw message