You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2018/07/31 21:05:49 UTC
[trafficserver] branch 8.0.x updated: Logs parse error if
ssl_server_name.yaml fails to load
This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/8.0.x by this push:
new 55c91e8 Logs parse error if ssl_server_name.yaml fails to load
55c91e8 is described below
commit 55c91e82d21e61cb229c16610610bdb05e8428ec
Author: Randall Meyer <ra...@yahoo.com>
AuthorDate: Tue Jun 26 14:39:49 2018 -0700
Logs parse error if ssl_server_name.yaml fails to load
(cherry picked from commit 86ae51499aa4c99efe4b4665bfda06b5acdd1171)
---
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;
}