diff options
author | Yann Ylavic <ylavic@apache.org> | 2014-06-07 22:57:08 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2014-06-07 22:57:08 +0000 |
commit | ff0963e3f7e12965ed1d5c9884429c0153120e7d (patch) | |
tree | ddaed83f78ff83b95f768b8ea9d4605637a4f3bb /include/http_connection.h | |
parent | 6502fec22a4736465301d970b567195ba48d60ff (diff) | |
download | httpd-ff0963e3f7e12965ed1d5c9884429c0153120e7d.tar.gz |
mpm_event[opt]: Send the SSL close notify alert when the KeepAliveTimeout
expires. PR54998.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1601185 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_connection.h')
-rw-r--r-- | include/http_connection.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/http_connection.h b/include/http_connection.h index f73670b442..571bf57d2a 100644 --- a/include/http_connection.h +++ b/include/http_connection.h @@ -48,8 +48,17 @@ extern "C" { AP_CORE_DECLARE(void) ap_process_connection(conn_rec *c, void *csd); /** + * Shutdown the connection for writing. + * @param c The connection to shutdown + * @param flush Whether or not to flush pending data before + * @return APR_SUCCESS or the underlying error + */ +AP_CORE_DECLARE(apr_status_t) ap_shutdown_conn(conn_rec *c, int flush); + +/** * Flushes all remain data in the client send buffer * @param c The connection to flush + * @remark calls ap_shutdown_conn(c, 1) */ AP_CORE_DECLARE(void) ap_flush_conn(conn_rec *c); |