diff options
Diffstat (limited to 'src/microhttpd/connection.h')
-rw-r--r-- | src/microhttpd/connection.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/microhttpd/connection.h b/src/microhttpd/connection.h index 0fce7346..a962a40c 100644 --- a/src/microhttpd/connection.h +++ b/src/microhttpd/connection.h @@ -22,6 +22,7 @@ * @brief Methods for managing connections * @author Daniel Pittman * @author Christian Grothoff + * @author Karlson2k (Evgeny Grin) */ #ifndef CONNECTION_H @@ -97,6 +98,15 @@ MHD_connection_close_ (struct MHD_Connection *connection, enum MHD_RequestTerminationCode termination_code); +/** + * Stop TLS forwarding on upgraded connection and + * reflect remote disconnect state to socketpair. + * @param connection the upgraded connection + */ +void +MHD_connection_finish_forward_ (struct MHD_Connection *connection); + + #ifdef EPOLL_SUPPORT /** * Perform epoll processing, possibly moving the connection back into |