summaryrefslogtreecommitdiff
path: root/include/mpm_common.h
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2016-03-12 00:43:58 +0000
committerGraham Leggett <minfrin@apache.org>2016-03-12 00:43:58 +0000
commit64eaf888e9208f6ae0370812de7746ea94099588 (patch)
tree84c5be5a3b5b8115363a475b7de198302785704c /include/mpm_common.h
parent9fbfe2fc9060a9c464e56499ae68693d01210801 (diff)
downloadhttpd-64eaf888e9208f6ae0370812de7746ea94099588.tar.gz
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 'include/mpm_common.h')
-rw-r--r--include/mpm_common.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/mpm_common.h b/include/mpm_common.h
index 9cc715b74b..0b70b71937 100644
--- a/include/mpm_common.h
+++ b/include/mpm_common.h
@@ -465,7 +465,15 @@ AP_DECLARE_HOOK(const char *,mpm_get_name,(void))
* should end gracefully, or a positive error if we should begin to linger.
* @ingroup hooks
*/
-AP_DECLARE_HOOK(int, complete_connection, (conn_rec *c))
+AP_DECLARE_HOOK(int, output_pending, (conn_rec *c))
+
+/**
+ * Hook called to determine whether any data is pending in the input filters.
+ * @param c The current connection
+ * @return OK if we can read without blocking, DECLINED if a read would block.
+ * @ingroup hooks
+ */
+AP_DECLARE_HOOK(int, input_pending, (conn_rec *c))
/**
* Notification that connection handling is suspending (disassociating from the