You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2009/04/02 08:41:50 UTC
svn commit: r761181 - /httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
Author: rpluem
Date: Thu Apr 2 06:41:50 2009
New Revision: 761181
URL: http://svn.apache.org/viewvc?rev=761181&view=rev
Log:
* Fix comment and optimize retrieval of loglevel.
Modified:
httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c?rev=761181&r1=761180&r2=761181&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c Thu Apr 2 06:41:50 2009
@@ -1959,13 +1959,8 @@
}
/*
- * We also need to make sure that the correct mctx
- * (accessed through the c->base_server->module_config vector)
- * is assigned to the connection - the CRL callback e.g.
- * makes use of it for retrieving its store (mctx->crl).
- * Since logging in callbacks uses c->base_server in many
- * cases, it also ensures that these messages are routed
- * to the proper log.
+ * Save the found server into our SSLConnRec for later
+ * retrieval
*/
sslcon->server = s;
@@ -1976,7 +1971,7 @@
* (and the first vhost doesn't use APLOG_DEBUG), then
* we need to set that callback here.
*/
- if (mySrvFromConn(c)->loglevel >= APLOG_DEBUG) {
+ if (s->loglevel >= APLOG_DEBUG) {
BIO_set_callback(SSL_get_rbio(ssl), ssl_io_data_cb);
BIO_set_callback_arg(SSL_get_rbio(ssl), (void *)ssl);
}