]> granicus.if.org Git - apache/commitdiff
Switch hook from type_checker to fixups.
authorJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 5 Sep 2002 06:26:07 +0000 (06:26 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 5 Sep 2002 06:26:07 +0000 (06:26 +0000)
(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

index 5940eade97024b9ce70d59b759fc7b23cdc1cedd..a354eedc66168828872b48c5a5a3d774ecb35d77 100644 (file)
@@ -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,