aboutsummaryrefslogtreecommitdiff
path: root/doc/libmicrohttpd.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r--doc/libmicrohttpd.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index ed2e58c9..49a74b4c 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -626,6 +626,15 @@ maximum number of file descriptors supported by @code{select} minus
626four for @code{stdin}, @code{stdout}, @code{stderr} and the server 626four for @code{stdin}, @code{stdout}, @code{stderr} and the server
627socket). In other words, the default is as large as possible. 627socket). In other words, the default is as large as possible.
628 628
629If the connection limit is reached, MHD's behavior depends a bit on
630other options. If @code{MHD_USE_PIPE_FOR_SHUTDOWN} was given, MHD
631will stop accepting connections on the listen socket. This will cause
632the operating system to queue connections (up to the @code{listen()}
633limit) above the connection limit. Those connections will be held
634until MHD is done processing at least one of the active connections.
635If @code{MHD_USE_PIPE_FOR_SHUTDOWN} is not set, then MHD will continue
636to @code{accept()} and immediately @code{close()} these connections.
637
629Note that if you set a low connection limit, you can easily get into 638Note that if you set a low connection limit, you can easily get into
630trouble with browsers doing request pipelining. For example, if your 639trouble with browsers doing request pipelining. For example, if your
631connection limit is ``1'', a browser may open a first connection to 640connection limit is ``1'', a browser may open a first connection to