aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-10-12 18:13:52 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-10-13 09:07:02 +0300
commit0b9776811f2d8bd1041b759bd84733754bba7b3e (patch)
tree8f818713adda4a8d00c2e24bee3c48951df9d49d /src/include/microhttpd.h
parentc8b0bf5627c20f6681ec9207ad4b30d84ef825e9 (diff)
downloadlibmicrohttpd-0b9776811f2d8bd1041b759bd84733754bba7b3e.tar.gz
libmicrohttpd-0b9776811f2d8bd1041b759bd84733754bba7b3e.zip
Added new MHD option to append TLS priorities string
The string is appended to default GnuTLS priorities. This way application may control priorities details, while leaving the basic settings to system's defaults.
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 94e6095c..13bfa554 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -96,7 +96,7 @@ extern "C"
96 * they are parsed as decimal numbers. 96 * they are parsed as decimal numbers.
97 * Example: 0x01093001 = 1.9.30-1. 97 * Example: 0x01093001 = 1.9.30-1.
98 */ 98 */
99#define MHD_VERSION 0x00097541 99#define MHD_VERSION 0x00097542
100 100
101/* If generic headers don't work on your platform, include headers 101/* If generic headers don't work on your platform, include headers
102 which define 'va_list', 'size_t', 'ssize_t', 'intptr_t', 'off_t', 102 which define 'va_list', 'size_t', 'ssize_t', 'intptr_t', 'off_t',
@@ -2025,7 +2025,19 @@ enum MHD_OPTION
2025 * When not specified, default value #MHD_DAUTH_BIND_NONCE_NONE is used. 2025 * When not specified, default value #MHD_DAUTH_BIND_NONCE_NONE is used.
2026 * @note Available since #MHD_VERSION 0x00097531 2026 * @note Available since #MHD_VERSION 0x00097531
2027 */ 2027 */
2028 MHD_OPTION_DIGEST_AUTH_NONCE_BIND_TYPE = 36 2028 MHD_OPTION_DIGEST_AUTH_NONCE_BIND_TYPE = 36,
2029
2030 /**
2031 * Memory pointer to a `const char *` specifying the GnuTLS priorities to be
2032 * appended to default priorities.
2033 * This allow some specific options to be enabled/disabled, while leaving
2034 * the rest of the settings to their defaults.
2035 * The string does not have to start with a colon ':' character.
2036 * See #MHD_OPTION_HTTPS_PRIORITIES description for details of automatic
2037 * default priorities.
2038 * @note Available since #MHD_VERSION 0x00097542
2039 */
2040 MHD_OPTION_HTTPS_PRIORITIES_APPEND = 37
2029} _MHD_FIXED_ENUM; 2041} _MHD_FIXED_ENUM;
2030 2042
2031 2043