From fba67798ed9de00e5a33c18ba9cfe66caec06aa3 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Sun, 11 May 2014 20:52:32 +0000 Subject: PR56333: Add an API to resume a connection that a handler has previously suspended. Submitted by: Artem , Edward Lu Committed by: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1593860 13f79535-47bb-0310-9956-ffa450edef68 --- include/ap_mpm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/ap_mpm.h') diff --git a/include/ap_mpm.h b/include/ap_mpm.h index d851f35582..d50acd95e3 100644 --- a/include/ap_mpm.h +++ b/include/ap_mpm.h @@ -178,6 +178,8 @@ AP_DECLARE(apr_status_t) ap_os_create_privileged_process( #define AP_MPMQ_GENERATION 15 /** MPM can drive serf internally */ #define AP_MPMQ_HAS_SERF 16 +/** MPM supports suspending/resuming connections */ +#define AP_MPMQ_CAN_SUSPEND 17 /** @} */ /** @@ -197,6 +199,8 @@ AP_DECLARE(apr_status_t) ap_mpm_query(int query_code, int *result); typedef void (ap_mpm_callback_fn_t)(void *baton); +/* only added support in the Event MPM.... check for APR_ENOTIMPL */ +AP_DECLARE(apr_status_t) ap_mpm_resume_suspended(conn_rec *c); /* only added support in the Event MPM.... check for APR_ENOTIMPL */ AP_DECLARE(apr_status_t) ap_mpm_register_timed_callback(apr_time_t t, ap_mpm_callback_fn_t *cbfn, -- cgit v1.2.3