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.h25
1 files changed, 23 insertions, 2 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index f0c8f00c..97f2d9dd 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 0x00095207 129#define MHD_VERSION 0x00095208
130 130
131/** 131/**
132 * MHD-internal return code for "YES". 132 * MHD-internal return code for "YES".
@@ -761,7 +761,28 @@ enum MHD_FLAG
761 * "Upgrade" may require usage of additional internal resources, 761 * "Upgrade" may require usage of additional internal resources,
762 * which we do not want to use unless necessary. 762 * which we do not want to use unless necessary.
763 */ 763 */
764 MHD_ALLOW_UPGRADE = 32768 764 MHD_ALLOW_UPGRADE = 32768,
765
766 /**
767 * Automatically use best available polling function.
768 * Choice of polling function is also depend on other daemon options.
769 * If #MHD_USE_INTERNAL_POLLING_THREAD is specified then epoll, poll() or
770 * select() will be used (listed in decreasing preference order, first
771 * function available on system will be used).
772 * If #MHD_USE_THREAD_PER_CONNECTION is specified then poll() or select()
773 * will be used.
774 * If those flags are not specified then epoll or select() will be
775 * used (as the only suitable for MHD_get_fdset())
776 */
777 MHD_USE_AUTO = 65536,
778
779 /**
780 * Run using an internal thread (or thread pool) with best available on
781 * system polling function.
782 * This is combination of #MHD_USE_AUTO and #MHD_USE_INTERNAL_POLLING_THREAD
783 * flags.
784 */
785 MHD_USE_AUTO_INTERNAL_THREAD = MHD_USE_AUTO | MHD_USE_INTERNAL_POLLING_THREAD
765 786
766}; 787};
767 788