commit 4e056c97946b690fd623e4bea6ef31ea74f66bcf
parent fd498a70642c54694d9a2672eefd27cccf00c9fa
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sat, 30 Mar 2024 18:50:07 +0100
microhttpd.h: fixed feature name
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
@@ -6403,9 +6403,9 @@ enum MHD_FEATURE
* Get whether automatic parsing of HTTP Cookie header is supported.
* If disabled, no MHD_COOKIE_KIND will be generated by MHD.
* MHD versions before 0x00097701 always support cookie parsing.
- * @note Available since #MHD_VERSION 0x00097701
+ * @note Available since #MHD_VERSION 0x01000200
*/
- MHD_FEATURE_HTTPS_COOKIE_PARSING = 24,
+ MHD_FEATURE_COOKIE_PARSING = 24,
/**
* Get whether the early version the Digest Authorization (RFC 2069) is
@@ -6499,6 +6499,10 @@ enum MHD_FEATURE
MHD_FEATURE_FLEXIBLE_FD_SETSIZE = 34
};
+#define MHD_FEATURE_HTTPS_COOKIE_PARSING _MHD_DEPR_IN_MACRO ( \
+ "Value MHD_FEATURE_HTTPS_COOKIE_PARSING is deprecated, " \
+ "use MHD_FEATURE_COOKIE_PARSING" \
+ ) MHD_FEATURE_COOKIE_PARSING
/**
* Get information about supported MHD features.