From: Doug MacEachern Date: Thu, 27 Apr 2000 23:44:16 +0000 (+0000) Subject: change ap_hook_pre_connection from VOID to RUN_ALL X-Git-Tag: APACHE_2_0_ALPHA_3~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7f8b9d3dfb89bce0937682839d5a96eb2fbd4af;p=thirdparty%2Fapache%2Fhttpd.git change ap_hook_pre_connection from VOID to RUN_ALL git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85066 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/http_connection.h b/include/http_connection.h index 7b237c793f1..8b0ce75dd72 100644 --- a/include/http_connection.h +++ b/include/http_connection.h @@ -73,7 +73,7 @@ int ap_process_http_connection(conn_rec *); #endif /* Hooks */ -AP_DECLARE_HOOK(void,pre_connection,(conn_rec *)) +AP_DECLARE_HOOK(int,pre_connection,(conn_rec *)) AP_DECLARE_HOOK(int,process_connection,(conn_rec *)) #ifdef __cplusplus diff --git a/server/connection.c b/server/connection.c index eeffd8d4e7c..f07b6f150ac 100644 --- a/server/connection.c +++ b/server/connection.c @@ -72,7 +72,7 @@ AP_HOOK_STRUCT( AP_HOOK_LINK(process_connection) ) -AP_IMPLEMENT_HOOK_VOID(pre_connection,(conn_rec *c),(c)) +AP_IMPLEMENT_HOOK_RUN_ALL(int,pre_connection,(conn_rec *c),(c),OK,DECLINED) AP_IMPLEMENT_HOOK_RUN_FIRST(int,process_connection,(conn_rec *c),(c),DECLINED) /*