summaryrefslogtreecommitdiffstats
path: root/server/mpm_common.c
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2016-03-12 01:43:58 +0100
committerGraham Leggett <minfrin@apache.org>2016-03-12 01:43:58 +0100
commit64eaf888e9208f6ae0370812de7746ea94099588 (patch)
tree84c5be5a3b5b8115363a475b7de198302785704c /server/mpm_common.c
parentSilent a smatch warning: (diff)
downloadapache2-64eaf888e9208f6ae0370812de7746ea94099588.tar.xz
apache2-64eaf888e9208f6ae0370812de7746ea94099588.zip
core: Extend support for setting aside data from the network input filter
to any connection or request input filter. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734656 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm_common.c')
-rw-r--r--server/mpm_common.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/server/mpm_common.c b/server/mpm_common.c
index b2133df1a1..3fdfcddb42 100644
--- a/server/mpm_common.c
+++ b/server/mpm_common.c
@@ -75,7 +75,8 @@
APR_HOOK_LINK(mpm_resume_suspended) \
APR_HOOK_LINK(end_generation) \
APR_HOOK_LINK(child_status) \
- APR_HOOK_LINK(complete_connection) \
+ APR_HOOK_LINK(output_pending) \
+ APR_HOOK_LINK(input_pending) \
APR_HOOK_LINK(suspend_connection) \
APR_HOOK_LINK(resume_connection)
@@ -118,7 +119,9 @@ AP_IMPLEMENT_HOOK_RUN_FIRST(apr_status_t, mpm_register_socket_callback_timeout,
AP_IMPLEMENT_HOOK_RUN_FIRST(apr_status_t, mpm_unregister_socket_callback,
(apr_socket_t **s, apr_pool_t *p),
(s, p), APR_ENOTIMPL)
-AP_IMPLEMENT_HOOK_RUN_FIRST(int, complete_connection,
+AP_IMPLEMENT_HOOK_RUN_FIRST(int, output_pending,
+ (conn_rec *c), (c), DECLINED)
+AP_IMPLEMENT_HOOK_RUN_FIRST(int, input_pending,
(conn_rec *c), (c), DECLINED)
AP_IMPLEMENT_HOOK_VOID(end_generation,