]> granicus.if.org Git - apache/commitdiff
The method_registry is initialized in register_hooks() for mod_http
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 18 Jul 2016 15:31:39 +0000 (15:31 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 18 Jul 2016 15:31:39 +0000 (15:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1753245 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_protocol.c

index dd9da7d6e1d47fc15dc0cc0a0b4289c2041fa84d..6a1ea1855aab2aad700d5226bd99f198a4b59b47 100644 (file)
@@ -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;
     }