aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index cec74683..9d28cdb1 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -132,7 +132,7 @@ typedef intptr_t ssize_t;
132 * Current version of the library. 132 * Current version of the library.
133 * 0x01093001 = 1.9.30-1. 133 * 0x01093001 = 1.9.30-1.
134 */ 134 */
135#define MHD_VERSION 0x00096501 135#define MHD_VERSION 0x00096502
136 136
137/** 137/**
138 * MHD-internal return code for "YES". 138 * MHD-internal return code for "YES".
@@ -1646,7 +1646,18 @@ enum MHD_OPTION
1646 * gnutls_psk_set_server_credentials_function. It is used to 1646 * gnutls_psk_set_server_credentials_function. It is used to
1647 * retrieve the shared key for a given username. 1647 * retrieve the shared key for a given username.
1648 */ 1648 */
1649 MHD_OPTION_GNUTLS_PSK_CRED_HANDLER = 30 1649 MHD_OPTION_GNUTLS_PSK_CRED_HANDLER = 30,
1650
1651 /**
1652 * Use a callback to determine which X.509 certificate should be
1653 * used for a given HTTPS connection. This option should be
1654 * followed by a argument of type `gnutls_certificate_retrieve_function3 *`.
1655 * This option provides an
1656 * alternative/extension to #MHD_OPTION_HTTPS_CERT_CALLBACK.
1657 * You must use this version if you want to use OCSP stapling.
1658 * Using this option requires GnuTLS 3.6.3 or higher.
1659 */
1660 MHD_OPTION_HTTPS_CERT_CALLBACK2 = 31
1650}; 1661};
1651 1662
1652 1663
@@ -3927,7 +3938,13 @@ enum MHD_FEATURE
3927 /** 3938 /**
3928 * Get whether MHD supports threads. 3939 * Get whether MHD supports threads.
3929 */ 3940 */
3930 MHD_FEATURE_THREADS 3941 MHD_FEATURE_THREADS = 22,
3942
3943 /**
3944 * Get whether option #MHD_OPTION_HTTPS_CERT_CALLBACK2 is
3945 * supported.
3946 */
3947 MHD_FEATURE_HTTPS_CERT_CALLBACK2 = 23
3931}; 3948};
3932 3949
3933 3950