diff options
author | Cliff Woolley <jwoolley@apache.org> | 2002-03-25 08:20:45 +0100 |
---|---|---|
committer | Cliff Woolley <jwoolley@apache.org> | 2002-03-25 08:20:45 +0100 |
commit | 388bb6d20f78f7ec500d3c0f95fbfcb70fe3fca7 (patch) | |
tree | e1a52456925738f9ae614ec42326a497f68a87ed /modules/http | |
parent | What, we don't support HEAD requests now? ;) (diff) | |
download | apache2-388bb6d20f78f7ec500d3c0f95fbfcb70fe3fca7.tar.xz apache2-388bb6d20f78f7ec500d3c0f95fbfcb70fe3fca7.zip |
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
Diffstat (limited to 'modules/http')
-rw-r--r-- | modules/http/http_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 = { |