Jabrique commented on code in PR #13373:
URL: https://github.com/apache/trafficserver/pull/13373#discussion_r3556010416


##########
src/iocore/net/SSLUtils.cc:
##########
@@ -1963,6 +1963,12 @@ SSLMultiCertConfigLoader::_load_items(SSLCertLookup 
*lookup, config::SSLMultiCer
         std::lock_guard<std::mutex> lock(_loader_mutex);
         errata.note(ERRATA_ERROR, "Failed to load certificate '{}' at item {}",
                     sslMultiCertSettings->cert ? sslMultiCertSettings->cert : 
"(unnamed)", item_num);
+        // Guard required: _load_items() runs before SSLInitializeStatistics() 
during
+        // early startup in some configurations (e.g. tests). Other counters 
are
+        // incremented only from paths that cannot execute before stats init.

Review Comment:
   Fixed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to