You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2015/09/28 15:18:52 UTC

svn commit: r1705687 - /httpd/httpd/branches/2.4.x/modules/ssl/ssl_engine_kernel.c

Author: jim
Date: Mon Sep 28 13:18:52 2015
New Revision: 1705687

URL: http://svn.apache.org/viewvc?rev=1705687&view=rev
Log:
Use r->hostname

Modified:
    httpd/httpd/branches/2.4.x/modules/ssl/ssl_engine_kernel.c

Modified: httpd/httpd/branches/2.4.x/modules/ssl/ssl_engine_kernel.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/ssl/ssl_engine_kernel.c?rev=1705687&r1=1705686&r2=1705687&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/ssl/ssl_engine_kernel.c (original)
+++ httpd/httpd/branches/2.4.x/modules/ssl/ssl_engine_kernel.c Mon Sep 28 13:18:52 2015
@@ -203,7 +203,7 @@ int ssl_hook_ReadReq(request_rec *r)
                  */
                 ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, APLOGNO(02032)
                             "Hostname %s provided via SNI and hostname %s provided"
-                            " via HTTP are different", servername, host);
+                            " via HTTP are different", servername, r->hostname);
                 if (r->connection->keepalives > 0) {
                     return HTTP_MISDIRECTED_REQUEST;
                 }