From b7f8b9d3dfb89bce0937682839d5a96eb2fbd4af Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 27 Apr 2000 23:44:16 +0000 Subject: [PATCH] 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 --- include/http_connection.h | 2 +- server/connection.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/http_connection.h b/include/http_connection.h index 7b237c793f..8b0ce75dd7 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 eeffd8d4e7..f07b6f150a 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) /* -- 2.50.1