diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-04-15 17:38:16 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-04-15 17:38:16 +0200 |
commit | 1917b866996413f09fa88ae0a6169cb9bd7079e8 (patch) | |
tree | e82839d66549250ce8d7eb88c56e41e1a06dc62d /src/include/microhttpd.h | |
parent | ef15b53cb101c378a905faa759aa95429d2e965d (diff) | |
download | libmicrohttpd-1917b866996413f09fa88ae0a6169cb9bd7079e8.tar.gz libmicrohttpd-1917b866996413f09fa88ae0a6169cb9bd7079e8.zip |
add flags for TLS option control
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 4917f62b..7bb0e084 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -126,7 +126,7 @@ typedef intptr_t ssize_t; | |||
126 | * Current version of the library. | 126 | * Current version of the library. |
127 | * 0x01093001 = 1.9.30-1. | 127 | * 0x01093001 = 1.9.30-1. |
128 | */ | 128 | */ |
129 | #define MHD_VERSION 0x00096301 | 129 | #define MHD_VERSION 0x00096302 |
130 | 130 | ||
131 | /** | 131 | /** |
132 | * MHD-internal return code for "YES". | 132 | * MHD-internal return code for "YES". |
@@ -1147,7 +1147,19 @@ enum MHD_FLAG | |||
1147 | * This is combination of #MHD_USE_AUTO and #MHD_USE_INTERNAL_POLLING_THREAD | 1147 | * This is combination of #MHD_USE_AUTO and #MHD_USE_INTERNAL_POLLING_THREAD |
1148 | * flags. | 1148 | * flags. |
1149 | */ | 1149 | */ |
1150 | MHD_USE_AUTO_INTERNAL_THREAD = MHD_USE_AUTO | MHD_USE_INTERNAL_POLLING_THREAD | 1150 | MHD_USE_AUTO_INTERNAL_THREAD = MHD_USE_AUTO | MHD_USE_INTERNAL_POLLING_THREAD, |
1151 | |||
1152 | /** | ||
1153 | * Flag set to enable post-handshake client authentication | ||
1154 | * (only useful in combination with #MHD_USE_TLS). | ||
1155 | */ | ||
1156 | MHD_USE_POST_HANDSHAKE_AUTH_SUPPORT = 1U <<17, | ||
1157 | |||
1158 | /** | ||
1159 | * Flag set to enable TLS 1.3 early data. This has | ||
1160 | * security implications, be VERY careful when using this. | ||
1161 | */ | ||
1162 | MHD_USE_INSECURE_TLS_EARLY_DATA = 1U <<18 | ||
1151 | 1163 | ||
1152 | }; | 1164 | }; |
1153 | 1165 | ||