From 6cc68327da5fd920ef52cef9c08e51fc73a9a41e Mon Sep 17 00:00:00 2001 From: Justin Erenkrantz Date: Thu, 5 Sep 2002 06:26:07 +0000 Subject: [PATCH] Switch hook from type_checker to fixups. (This hook may be able to removed entirely in favor of being in dav_handler, but that is left as an exercise to the reader.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96641 13f79535-47bb-0310-9956-ffa450edef68 --- modules/dav/main/mod_dav.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/dav/main/mod_dav.c b/modules/dav/main/mod_dav.c index 5940eade97..a354eedc66 100644 --- a/modules/dav/main/mod_dav.c +++ b/modules/dav/main/mod_dav.c @@ -4595,7 +4595,7 @@ static int dav_handler(request_rec *r) return DECLINED; } -static int dav_type_checker(request_rec *r) +static int dav_fixups(request_rec *r) { dav_dir_conf *conf; @@ -4635,8 +4635,6 @@ static int dav_type_checker(request_rec *r) * ### we lock down this hierarchy so that we are the ultimate * ### arbiter? (or do we simply depend on the administrator * ### to avoid conflicting configurations?) - * - * ### I think the OK stops running type-checkers. need to look. */ r->handler = "dav-handler"; return OK; @@ -4649,7 +4647,7 @@ static void register_hooks(apr_pool_t *p) { ap_hook_handler(dav_handler, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_post_config(dav_init_handler, NULL, NULL, APR_HOOK_MIDDLE); - ap_hook_type_checker(dav_type_checker, NULL, NULL, APR_HOOK_FIRST); + ap_hook_fixups(dav_fixups, NULL, NULL, APR_HOOK_MIDDLE); dav_hook_find_liveprop(dav_core_find_liveprop, NULL, NULL, APR_HOOK_LAST); dav_hook_insert_all_liveprops(dav_core_insert_all_liveprops, -- 2.40.0