aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-03 16:49:24 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-03 16:49:24 +0300
commit7055ebd931463d7bf0e4104c415d8ee60e21d83b (patch)
tree06255d9be0dabde614262174c1f46c675abf2323 /src/include
parent101fa6ceed4baf7e03a2f24aca4beb6e03dbb9d6 (diff)
downloadlibmicrohttpd-7055ebd931463d7bf0e4104c415d8ee60e21d83b.tar.gz
libmicrohttpd-7055ebd931463d7bf0e4104c415d8ee60e21d83b.zip
Added MHD_FEATURE_UPGRADE for MHD_is_feature_supported()
Diffstat (limited to 'src/include')
-rw-r--r--src/include/microhttpd.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 2a46c3e0..a441ee7a 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -2853,7 +2853,15 @@ enum MHD_FEATURE
2853 /** 2853 /**
2854 * Get whether MHD set names on generated threads. 2854 * Get whether MHD set names on generated threads.
2855 */ 2855 */
2856 MHD_THREAD_NAMES = 16 2856 MHD_FEATURE_THREAD_NAMES = 16,
2857 MHD_THREAD_NAMES = 16,
2858
2859 /**
2860 * Get whether HTTP "Upgrade" is supported.
2861 * If supported then #MHD_ALLOW_UPGRADE, #MHD_upgrade_action() and
2862 * #MHD_create_response_for_upgrade() can be used.
2863 */
2864 MHD_FEATURE_UPGRADE = 17
2857}; 2865};
2858 2866
2859 2867