Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0A050200B48 for ; Mon, 18 Jul 2016 17:44:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 089DE160A6D; Mon, 18 Jul 2016 15:44:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4E9E9160A5D for ; Mon, 18 Jul 2016 17:44:26 +0200 (CEST) Received: (qmail 93042 invoked by uid 500); 18 Jul 2016 15:44:25 -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 93032 invoked by uid 99); 18 Jul 2016 15:44:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jul 2016 15:44:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 71712C0958 for ; Mon, 18 Jul 2016 15:44:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.702 X-Spam-Level: X-Spam-Status: No, score=-0.702 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id f4m91qZgjAnz for ; Mon, 18 Jul 2016 15:44:23 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 545275FBFE for ; Mon, 18 Jul 2016 15:44:22 +0000 (UTC) Received: from gauss.localdomain ([134.19.78.243]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lugbo-1bG8Fw2oLI-00zr4V for ; Mon, 18 Jul 2016 17:44:12 +0200 Received: from [IPv6:::1] (localhost [IPv6:::1]) by gauss.localdomain (Postfix) with ESMTP id 3CA292BB for ; Mon, 18 Jul 2016 17:44:12 +0200 (CEST) Subject: Re: svn commit: r1753223 - /httpd/httpd/trunk/modules/http/http_protocol.c To: dev@httpd.apache.org References: <20160718134127.436B03A0473@svn01-us-west.apache.org> <578CF41A.1080002@apache.org> From: =?UTF-8?B?UsO8ZGlnZXIgUGzDvG0=?= Message-ID: <578CF94C.5000309@gmx.de> Date: Mon, 18 Jul 2016 17:44:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:3IzVc0HLNwvrH9lvAC5ZP2cqutvlN1O0dWzHRKOiUwYMvbSlJbT nxTY5y4RjPpAAeXSh+vMdVdkh/aZT90HpPe/vYuW0UFlVbsOyWuAhzTYVYNYnDoxPaRXMwT pTRcTg1vGtVrVi+n2EkzDIFYUtiNETf7odm5N+7PjfRSwmtVkCk9Ms/47OIw0oqpc8J1nvW 0BE530zsMzrEFNLhdYmtQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:Ep/p9IXs1t4=:VE34rpmsmyrVYhT6oyP4P/ vVQB1wh3oCJSand1HKMunwIlFKl1XFn5VCkkg2NHwIVOsG0w+QYKmGMPWWxC9TtrLysFQTJHW cKP1RC4mp0NmJPUVEtNDXoE+w+wz2lA36+3LrxAmcHB1vU7ettRAOLrQSuwpTuAwu0sozuND2 h61CIsFeelClqeu3LnN7On05jPUN662Ut1Xa71zaTuzThoNA4zauZAAEdTdxy3guCxJ7RyP3+ /ec5L+EFJD/aGZi2FcoCWU89QxhOwX7MwC44a7nakPy8xpA1gp7ndJl2H7Qq88ll7IVJZ/Mur 1QPW4Abenm7YiUEvriC51RHahXtRBuwng9bSpW32JCOlvpIOlU1ucFFJS0cP2EBXqIn4zdcLJ goWP4KmREhPWfc3iSNY31m74OK3FFISP9xAGj7P75AncZT97iFBHKXZf2z1rvOIkhFSpwBBvN /qF29IxdYNBGmgDgFLxPA3CayYBF9oDzSLDeXQGafDzXqDrLO2brAhNWatSxtOhp6pfbxxhFa ufil5eIyaQ+uWQ5hIDRs6OyXiVF9yMaNGVgUEZTylWgWZzBoy7txb4d0nQec7yY5J0drOkqQs eFiOOqaS3qDHDDrpEKEqVQU8JFNhBtZdQnLr82cSSYndr0vT/iFawxqaWv/TUjr9XDVlx+OxQ UU8qe9UC9CTI0kLwKO8iACXBItGxcWhREDZsAHMCjUJDa6Cpw0oBx+vEJTlV+njGkCnCg60P3 7QOBOmlqaQ+ZcQCDujnnXsuc6bwyjLLTA8+NnxMuQt9SytvOod3E+lEFDHnCRSyppBW/NZo/s gam10o6 archived-at: Mon, 18 Jul 2016 15:44:27 -0000 On 07/18/2016 05:28 PM, William A Rowe Jr wrote: > On Mon, Jul 18, 2016 at 10:22 AM, Ruediger Pluem > wrote: >=20 >=20 > On 07/18/2016 03:41 PM, wrowe@apache.org = wrote: > > Author: wrowe > > Date: Mon Jul 18 13:41:26 2016 > > New Revision: 1753223 > > > > URL: http://svn.apache.org/viewvc?rev=3D1753223&view=3Drev > > Log: > > Simplify; this code is executed one per request processed, saving > > an immeasurably small quantum of CPU of a server under load. > > > > + int *methnum =3D apr_hash_get(methods_registry, method, len)= ; >=20 > How do we ensure that methods_registry is not NULL or better that > ap_method_registry_init was called before? >=20 > =20 > Is the ap_method_registry_init in mod_http register_hooks() insufficien= t? >=20 >=20 >=20 Doh. I missed that. Sorry for the noise. Regards R=C3=BCdiger