aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection_https.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-10-24 15:18:26 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-01 20:51:01 +0300
commit384cb2ab655970311ef89993810f7b62ad55b189 (patch)
tree2ca0d63f40e816aa7d2b198b29fc340875d073d8 /src/microhttpd/connection_https.h
parent47f1d52e799227322c83d3114d3a6b7b54d2e5dd (diff)
downloadlibmicrohttpd-384cb2ab655970311ef89993810f7b62ad55b189.tar.gz
libmicrohttpd-384cb2ab655970311ef89993810f7b62ad55b189.zip
Deduplicated connection's closure code, improved TLS closure.
Diffstat (limited to 'src/microhttpd/connection_https.h')
-rw-r--r--src/microhttpd/connection_https.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/microhttpd/connection_https.h b/src/microhttpd/connection_https.h
index 02ffb52e..23ae685b 100644
--- a/src/microhttpd/connection_https.h
+++ b/src/microhttpd/connection_https.h
@@ -37,6 +37,16 @@
37 */ 37 */
38void 38void
39MHD_set_https_callbacks (struct MHD_Connection *connection); 39MHD_set_https_callbacks (struct MHD_Connection *connection);
40#endif 40
41
42/**
43 * Initiate shutdown of TLS layer of connection.
44 *
45 * @param connection to use
46 * @return #MHD_YES if succeed, #MHD_NO otherwise.
47 */
48int
49MHD_tls_connection_shutdown (struct MHD_Connection *connection);
50#endif /* HTTPS_SUPPORT */
41 51
42#endif 52#endif