Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 78776 invoked from network); 9 Sep 2009 20:23:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Sep 2009 20:23:22 -0000 Received: (qmail 12411 invoked by uid 500); 9 Sep 2009 20:23:21 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 12314 invoked by uid 500); 9 Sep 2009 20:23:21 -0000 Mailing-List: contact dev-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 dev@httpd.apache.org Received: (qmail 12305 invoked by uid 99); 9 Sep 2009 20:23:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 20:23:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.51.68.3] (HELO ganymede.on-x.com) (194.51.68.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 20:23:11 +0000 Received: from varuna.puteaux.on-x (varuna.puteaux.on-x [192.168.10.6]) by ganymede.on-x.com (Postfix) with ESMTP id C0EDD6D for ; Wed, 9 Sep 2009 22:22:29 +0200 (CEST) Received: from smtps.on-x.com (mintaka.puteaux.on-x [192.168.14.11]) by varuna.puteaux.on-x (Postfix) with ESMTP id 79071170CE for ; Wed, 9 Sep 2009 22:22:29 +0200 (CEST) Received: from [192.168.0.16] (gut75-3-82-227-163-182.fbx.proxad.net [82.227.163.182]) by smtps.on-x.com (Postfix) with ESMTP id AD8CB7877 for ; Wed, 9 Sep 2009 22:22:23 +0200 (CEST) Message-ID: <4AA80E84.90404@edelweb.fr> Date: Wed, 09 Sep 2009 22:22:28 +0200 From: Peter Sylvester User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: dev@httpd.apache.org Subject: [Fwd: backport and enhancement of patch 724717] Content-Type: multipart/mixed; boundary="------------050202040204060609050407" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------050202040204060609050407 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, I am not whether I have missed a response. I think backporting this patch is not critical and helps to remove differences between the mod_ssl versions. thanks in advance for consideration /PS --------------050202040204060609050407 Content-Type: message/rfc822; name="backport and enhancement of patch 724717.eml" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="backport and enhancement of patch 724717.eml" Message-ID: <4A8E7ACC.80409@edelweb.fr> Date: Fri, 21 Aug 2009 12:45:32 +0200 From: Peter Sylvester User-Agent: Thunderbird 1.5.0.9 (X11/20061206) MIME-Version: 1.0 To: dev@httpd.apache.org Subject: backport and enhancement of patch 724717 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, The patch for 724717 moves some logic from ssl_engine_kernel into ssl__engine_vars and simplifies the code (and enhances it btw). Can this code be backported to the 2.2.x version The enhancement is to add the "_n" suffix for multiple occurences of attributs which seems good. in addition it concentrates logic at one place ... ... almost. Wouldn't it be better to move the for loop in the following snippet of ssl_engine_kernel (and the ssl_hoolFixup_vars table also inside the the routine above (changing maybe its name). Thanks in advance for comments. Peter Sylvester /* standard SSL environment variables */ if (dc->nOptions & SSL_OPT_STDENVVARS) { modssl_var_extract_dns(env, sslconn->ssl, r->pool); for (i = 0; ssl_hook_Fixup_vars[i]; i++) { var = (char *)ssl_hook_Fixup_vars[i]; val = ssl_var_lookup(r->pool, r->server, r->connection, r, var); if (!strIsEmpty(val)) { apr_table_setn(env, var, val); } } } --------------050202040204060609050407--