httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/modules/dav/main mod_dav.c
Date Thu, 05 Sep 2002 06:26:07 GMT
jerenkrantz    2002/09/04 23:26:07

  Modified:    modules/dav/main mod_dav.c
  Log:
  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.)
  
  Revision  Changes    Path
  1.86      +2 -4      httpd-2.0/modules/dav/main/mod_dav.c
  
  Index: mod_dav.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/dav/main/mod_dav.c,v
  retrieving revision 1.85
  retrieving revision 1.86
  diff -u -u -r1.85 -r1.86
  --- mod_dav.c	5 Sep 2002 06:24:38 -0000	1.85
  +++ mod_dav.c	5 Sep 2002 06:26:07 -0000	1.86
  @@ -4595,7 +4595,7 @@
       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 @@
            * ### 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 @@
   {
       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,
  
  
  

Mime
View raw message