Commit 0b5976c0 authored by Doug MacEachern's avatar Doug MacEachern
Browse files

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/modules/ssl@92119 13f79535-47bb-0310-9956-ffa450edef68
parent 87affd68
Loading
Loading
Loading
Loading
+5 −0
Changes for ssl_engine_kernel.c: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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
     */