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.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 5c87c721..318a8424 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -356,8 +356,11 @@ enum MHD_FLAG
356 MHD_USE_SELECT_INTERNALLY = 8, 356 MHD_USE_SELECT_INTERNALLY = 8,
357 357
358 /** 358 /**
359 * Run using the IPv6 protocol (otherwise, MHD will 359 * Run using the IPv6 protocol (otherwise, MHD will just support
360 * just support IPv4). 360 * IPv4). If you want MHD to support IPv4 and IPv6 using a single
361 * socket, pass MHD_USE_DUAL_STACK, otherwise, if you only pass
362 * this option, MHD will try to bind to IPv6-only (resulting in
363 * no IPv4 support).
361 */ 364 */
362 MHD_USE_IPv6 = 16, 365 MHD_USE_IPv6 = 16,
363 366
@@ -428,7 +431,12 @@ enum MHD_FLAG
428 * specify it), if 'MHD_USE_NO_LISTEN_SOCKET' is specified. In 431 * specify it), if 'MHD_USE_NO_LISTEN_SOCKET' is specified. In
429 * "external" select mode, this option is always simply ignored. 432 * "external" select mode, this option is always simply ignored.
430 */ 433 */
431 MHD_USE_PIPE_FOR_SHUTDOWN = 1024 434 MHD_USE_PIPE_FOR_SHUTDOWN = 1024,
435
436 /**
437 * Use a single socket for IPv4 and IPv6.
438 */
439 MHD_USE_DUAL_STACK = MHD_USE_IPv6 | 2048
432 440
433}; 441};
434 442