]> granicus.if.org Git - apache/commitdiff
Reduce the WARNING to a DEBUG when SNI support is enabled.
authorDirk-Willem van Gulik <dirkx@apache.org>
Mon, 11 Feb 2008 15:38:47 +0000 (15:38 +0000)
committerDirk-Willem van Gulik <dirkx@apache.org>
Mon, 11 Feb 2008 15:38:47 +0000 (15:38 +0000)
This is because a) during SNI such is normal and b) regardless
when overlap is detected there will always be a warning:

    [warn] Init: Name-based SSL virtual hosts only work for clients
       with TLS server name indication support (RFC 4366)

at the end of the cycle.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@620505 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_init.c

index 87ccf2bbaa58c7878aa0fd69384ff23a81398ec6..71a950d31a9e4eb1046588767e1427f9eef0dd60 100644 (file)
@@ -1090,7 +1090,13 @@ void ssl_init_CheckServers(server_rec *base_server, apr_pool_t *p)
         klen = strlen(key);
 
         if ((ps = (server_rec *)apr_hash_get(table, key, klen))) {
-            ap_log_error(APLOG_MARK, APLOG_WARNING, 0,
+            ap_log_error(APLOG_MARK, 
+#ifdef OPENSSL_NO_TLSEXT
+                         APLOG_WARNING, 
+#else
+                         APLOG_DEBUG, 
+#endif
+                         0,
                          base_server,
 #ifdef OPENSSL_NO_TLSEXT
                          "Init: SSL server IP/port conflict: "