From: Cliff Woolley Date: Mon, 25 Mar 2002 07:20:45 +0000 (+0000) Subject: Fix a segfault because ap_method_registry_init() was never called unless X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ca4fe35fbdbe9870f45fa49840f02f2ff28fe28;p=apache Fix a segfault because ap_method_registry_init() was never called unless 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 --- diff --git a/modules/http/http_core.c b/modules/http/http_core.c index 87a9a79261..da9b045b5d 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -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 = {