From 142f72090c3472eefd6de57372156d98edd11598 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Tue, 10 Oct 2000 02:14:11 +0000 Subject: [PATCH] rename core_register_filter() to core_insert_filter() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86491 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/http/http_core.c b/modules/http/http_core.c index 2aeddff363..d591fdb986 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -3511,7 +3511,7 @@ static const char *core_method(const request_rec *r) static unsigned short core_port(const request_rec *r) { return DEFAULT_HTTP_PORT; } -static void core_register_filter(request_rec *r) +static void core_insert_filter(request_rec *r) { int i; core_dir_config *conf = (core_dir_config *) @@ -3546,10 +3546,10 @@ static void register_hooks(void) ap_hook_type_checker(do_nothing,NULL,NULL,AP_HOOK_REALLY_LAST); ap_hook_access_checker(do_nothing,NULL,NULL,AP_HOOK_REALLY_LAST); - /* define the CORE filter, then register a hook to insert it at - * request-processing time. + /* register the core's insert_filter hook and register core-provided + * filters */ - ap_hook_insert_filter(core_register_filter, NULL, NULL, AP_HOOK_MIDDLE); + ap_hook_insert_filter(core_insert_filter, NULL, NULL, AP_HOOK_MIDDLE); ap_register_input_filter("HTTP_IN", http_filter, AP_FTYPE_CONNECTION); ap_register_input_filter("CORE_IN", core_input_filter, AP_FTYPE_CONNECTION); ap_register_output_filter("CORE", core_output_filter, AP_FTYPE_CONNECTION + 1); -- 2.50.1