mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* Store the correct server_rec in the connection record configuration and
adjust the remaining part of mod_ssl to use this server_rec instead of c->base_server. modules/ssl/ssl_private.h: - server_rec member to SSLConnRec struct - Add macros to extract data from connection_rec mySrvFromConn(c) mySrvConfigFromConn(c) myModConfigFromConn(c) modules/ssl/ssl_engine_io.c modules/ssl/ssl_util_ocsp.c modules/ssl/ssl_engine_kernel.c modules/ssl/mod_ssl.c modules/ssl/ssl_engine_log.c - Use the new macros to extract data fron connection_rec and use the server_rec stored in SSLConnRec instead of c->base_server whereever appropriate. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@757463 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -117,7 +117,7 @@ void ssl_log_cxerror(const char *file, int line, int level,
|
||||
char *sname, *iname, *serial;
|
||||
BIGNUM *bn;
|
||||
|
||||
if (c->base_server->loglevel < level) {
|
||||
if (mySrvFromConn(c)->loglevel < level) {
|
||||
/* Bail early since the rest of this function is expensive. */
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user