On 07/18/2016 05:28 PM, William A Rowe Jr wrote: > On Mon, Jul 18, 2016 at 10:22 AM, Ruediger Pluem <[email protected] > <mailto:[email protected]>> wrote: > > > On 07/18/2016 03:41 PM, [email protected] <mailto:[email protected]> wrote: > > Author: wrowe > > Date: Mon Jul 18 13:41:26 2016 > > New Revision: 1753223 > > > > URL: http://svn.apache.org/viewvc?rev=1753223&view=rev > > Log: > > Simplify; this code is executed one per request processed, saving > > an immeasurably small quantum of CPU of a server under load. > > > > + int *methnum = apr_hash_get(methods_registry, method, len); > > How do we ensure that methods_registry is not NULL or better that > ap_method_registry_init was called before? > > > Is the ap_method_registry_init in mod_http register_hooks() insufficient? > > >
Doh. I missed that. Sorry for the noise. Regards Rüdiger
