trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject [trafficserver] 01/02: Logs parse error if ssl_server_name.yaml fails to load
Date Mon, 09 Jul 2018 17:26:20 GMT
This is an automated email from the ASF dual-hosted git repository.

rrm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 86ae51499aa4c99efe4b4665bfda06b5acdd1171
Author: Randall Meyer <randallmeyer@yahoo.com>
AuthorDate: Tue Jun 26 14:39:49 2018 -0700

    Logs parse error if ssl_server_name.yaml fails to load
---
 iocore/net/SSLSNIConfig.cc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/iocore/net/SSLSNIConfig.cc b/iocore/net/SSLSNIConfig.cc
index 71ff860..1dd5036 100644
--- a/iocore/net/SSLSNIConfig.cc
+++ b/iocore/net/SSLSNIConfig.cc
@@ -153,7 +153,9 @@ SNIConfigParams::Initialize()
 
   ts::Errata zret = Y_sni.loader(sni_filename);
   if (!zret.isOK()) {
-    Note("failed to reload ssl_server_name.yaml");
+    std::stringstream errMsg;
+    errMsg << zret;
+    Error("failed to load ssl_server_name.yaml: %s", errMsg.str().c_str());
     return 1;
   }
 


Mime
View raw message