From: William A. Rowe Jr Date: Mon, 18 Jul 2016 15:31:39 +0000 (+0000) Subject: The method_registry is initialized in register_hooks() for mod_http X-Git-Tag: 2.5.0-alpha~1395 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a87665e53a2157daa2ddb70d2e08080de7e83ac;p=thirdparty%2Fapache%2Fhttpd.git The method_registry is initialized in register_hooks() for mod_http git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1753245 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index dd9da7d6e1d..6a1ea1855aa 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -723,10 +723,6 @@ AP_DECLARE(int) ap_method_register(apr_pool_t *p, const char *methname) { int *methnum; - if (methods_registry == NULL) { - ap_method_registry_init(p); - } - if (methname == NULL) { return M_INVALID; }