]> granicus.if.org Git - apache/commitdiff
Fix a segfault because ap_method_registry_init() was never called unless
authorCliff Woolley <jwoolley@apache.org>
Mon, 25 Mar 2002 07:20:45 +0000 (07:20 +0000)
committerCliff Woolley <jwoolley@apache.org>
Mon, 25 Mar 2002 07:20:45 +0000 (07:20 +0000)
ap_method_register() was called [ie, unless mod_dav was installed]

Reported by: Brian Pane

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94156 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_core.c

index 87a9a7926181c18e065514df9091ba3ddd7f2533..da9b045b5d13e0c3efed87ec9368b0a68a9eb505 100644 (file)
@@ -335,6 +335,7 @@ static void register_hooks(apr_pool_t *p)
     ap_byterange_filter_handle =
         ap_register_output_filter("BYTERANGE", ap_byterange_filter,
                                   AP_FTYPE_PROTOCOL);
+    ap_method_registry_init(p);
 }
 
 module AP_MODULE_DECLARE_DATA http_module = {