diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-10-24 15:18:26 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-11-01 20:51:01 +0300 |
commit | 384cb2ab655970311ef89993810f7b62ad55b189 (patch) | |
tree | 2ca0d63f40e816aa7d2b198b29fc340875d073d8 /src/microhttpd/connection_https.h | |
parent | 47f1d52e799227322c83d3114d3a6b7b54d2e5dd (diff) | |
download | libmicrohttpd-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.h | 12 |
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 | */ |
38 | void | 38 | void |
39 | MHD_set_https_callbacks (struct MHD_Connection *connection); | 39 | MHD_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 | */ | ||
48 | int | ||
49 | MHD_tls_connection_shutdown (struct MHD_Connection *connection); | ||
50 | #endif /* HTTPS_SUPPORT */ | ||
41 | 51 | ||
42 | #endif | 52 | #endif |