summaryrefslogtreecommitdiff
path: root/include/http_connection.h
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2014-06-07 22:57:08 +0000
committerYann Ylavic <ylavic@apache.org>2014-06-07 22:57:08 +0000
commitff0963e3f7e12965ed1d5c9884429c0153120e7d (patch)
treeddaed83f78ff83b95f768b8ea9d4605637a4f3bb /include/http_connection.h
parent6502fec22a4736465301d970b567195ba48d60ff (diff)
downloadhttpd-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.h9
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);