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, 13 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index b8dfc426..76e64e96 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -84,7 +84,7 @@ extern "C"
84/** 84/**
85 * Current version of the library. 85 * Current version of the library.
86 */ 86 */
87#define MHD_VERSION 0x00000200 87#define MHD_VERSION 0x00000201
88 88
89/** 89/**
90 * MHD-internal return codes. 90 * MHD-internal return codes.
@@ -333,6 +333,18 @@ enum MHD_OPTION
333 */ 333 */
334 MHD_OPTION_NOTIFY_COMPLETED = 4, 334 MHD_OPTION_NOTIFY_COMPLETED = 4,
335 335
336 /**
337 * Limit on the number of (concurrent) connections made to the
338 * server from the same IP address. Can be used to prevent one
339 * IP from taking over all of the allowed connections. If the
340 * same IP tries to establish more than the specified number of
341 * connections, they will be immediately rejected. The option
342 * should be followed by an "unsigned int". The default is
343 * zero, which means no limit on the number of connections
344 * from the same IP address.
345 */
346 MHD_OPTION_PER_IP_CONNECTION_LIMIT = 5,
347
336}; 348};
337 349
338/** 350/**