Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 92855 invoked from network); 2 Apr 2009 06:42:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2009 06:42:14 -0000 Received: (qmail 56568 invoked by uid 500); 2 Apr 2009 06:42:14 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 56482 invoked by uid 500); 2 Apr 2009 06:42:13 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 56473 invoked by uid 99); 2 Apr 2009 06:42:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 06:42:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 06:42:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 053632388A04; Thu, 2 Apr 2009 06:41:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r761181 - /httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c Date: Thu, 02 Apr 2009 06:41:50 -0000 To: cvs@httpd.apache.org From: rpluem@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090402064151.053632388A04@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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); }