You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/05/03 22:12:38 UTC

[trafficserver] branch 7.1.x updated: Downgrade 'previously indexed' cert warning to debug

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/7.1.x by this push:
     new c2f563b  Downgrade 'previously indexed' cert warning to debug
c2f563b is described below

commit c2f563be7ff91a7ce08c22d71fd0bbed6729a522
Author: Randall Meyer <ra...@yahoo.com>
AuthorDate: Wed May 2 21:15:35 2018 -0700

    Downgrade 'previously indexed' cert warning to debug
    
    This fixes #3498
    
    (cherry picked from commit 26da8b9761d4696df7a4b3c3d7cb5b4e348ddab7)
---
 iocore/net/SSLCertLookup.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iocore/net/SSLCertLookup.cc b/iocore/net/SSLCertLookup.cc
index a1dbe5a..d4eecb2 100644
--- a/iocore/net/SSLCertLookup.cc
+++ b/iocore/net/SSLCertLookup.cc
@@ -434,7 +434,7 @@ SSLContextStorage::insert(const char *name, int idx)
     }
     if (subdomain) {
       if (ink_hash_table_lookup(this->wilddomains, subdomain, &value) && reinterpret_cast<InkHashTableValue>(idx) != value) {
-        Warning("previously indexed '%s' with SSL_CTX %p, cannot index it with SSL_CTX #%d now", lower_case_name, value, idx);
+        Debug("ssl", "previously indexed '%s' with SSL_CTX %p, cannot index it with SSL_CTX #%d now", lower_case_name, value, idx);
         idx = -1;
       } else {
         ink_hash_table_insert(this->wilddomains, subdomain, reinterpret_cast<void *>(static_cast<intptr_t>(idx)));
@@ -443,7 +443,7 @@ SSLContextStorage::insert(const char *name, int idx)
     }
   } else {
     if (ink_hash_table_lookup(this->hostnames, lower_case_name, &value) && reinterpret_cast<InkHashTableValue>(idx) != value) {
-      Warning("previously indexed '%s' with SSL_CTX %p, cannot index it with SSL_CTX #%d now", lower_case_name, value, idx);
+      Debug("ssl", "previously indexed '%s' with SSL_CTX %p, cannot index it with SSL_CTX #%d now", lower_case_name, value, idx);
       idx = -1;
     } else {
       ink_hash_table_insert(this->hostnames, lower_case_name, reinterpret_cast<void *>(static_cast<intptr_t>(idx)));

-- 
To stop receiving notification emails like this one, please contact
zwoop@apache.org.