httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_example.c
Date Mon, 15 Oct 2001 23:14:11 GMT
dougm       01/10/15 16:14:11

  Modified:    modules/experimental mod_example.c
  Log:
  disabling mod_example ap_hook_{http_method,default_port}
  breaks things such as httpd-test when http_method is "foo"
  
  Revision  Changes    Path
  1.27      +4 -0      httpd-2.0/modules/experimental/mod_example.c
  
  Index: mod_example.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_example.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- mod_example.c	2001/10/13 01:53:46	1.26
  +++ mod_example.c	2001/10/15 23:14:11	1.27
  @@ -940,6 +940,7 @@
    * server will still call any remaining modules with an handler for this
    * phase.
    */
  +#if 0
   static const char *x_http_method(const request_rec *r)
   {
       x_cfg *cfg;
  @@ -971,6 +972,7 @@
       trace_add(r->server, NULL, cfg, "x_post_config()");
       return 80;
   }
  +#endif /*0*/
   
   /*
    * This routine is called to perform any module-specific fixing of header
  @@ -1253,8 +1255,10 @@
       ap_hook_post_read_request(x_post_read_request, NULL, NULL,
                                 APR_HOOK_MIDDLE);
       ap_hook_log_transaction(x_logger, NULL, NULL, APR_HOOK_MIDDLE);
  +#if 0
       ap_hook_http_method(x_http_method, NULL, NULL, APR_HOOK_MIDDLE);
       ap_hook_default_port(x_default_port, NULL, NULL, APR_HOOK_MIDDLE);
  +#endif
       ap_hook_translate_name(x_translate_handler, NULL, NULL, APR_HOOK_MIDDLE);
       ap_hook_check_user_id(x_check_user_id, NULL, NULL, APR_HOOK_MIDDLE);
       ap_hook_fixups(x_fixer_upper, NULL, NULL, APR_HOOK_MIDDLE);
  
  
  

Mime
View raw message