Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 69469 invoked by uid 500); 15 Oct 2001 23:19:46 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 69458 invoked by uid 500); 15 Oct 2001 23:19:46 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 15 Oct 2001 23:14:11 -0000 Message-ID: <20011015231411.33700.qmail@icarus.apache.org> From: dougm@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/experimental mod_example.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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);