mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
return from ssl_callback_LogTracingState if sc->nLogLevel < SSL_LOG_INFO
else there are 5 (expensive!) calls made to ssl_var_lookup on every request for info that will never be logged PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92119 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1614,6 +1614,11 @@ void ssl_callback_LogTracingState(SSL *ssl, int where, int rc)
|
||||
if ((sc = mySrvConfig(s)) == NULL)
|
||||
return;
|
||||
|
||||
if (sc->nLogLevel < SSL_LOG_INFO) {
|
||||
/* nothing todo here */
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* create the various trace messages
|
||||
*/
|
||||
|
Reference in New Issue
Block a user