aboutsummaryrefslogtreecommitdiff
path: root/doc/microhttpd.texi
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-10-05 06:29:41 +0000
committerChristian Grothoff <christian@grothoff.org>2009-10-05 06:29:41 +0000
commit35723abc6735df6f57f89b88557dc14f87c4a5e8 (patch)
tree2480957369b417d34b807acf577b37f335e4b088 /doc/microhttpd.texi
parent0a38f159fdca2e2b7f17215101af301215abbc3a (diff)
downloadlibmicrohttpd-35723abc6735df6f57f89b88557dc14f87c4a5e8.tar.gz
libmicrohttpd-35723abc6735df6f57f89b88557dc14f87c4a5e8.zip
document defaults as suggested by
Michael Lenaghan <michaell@dazzit.com>
Diffstat (limited to 'doc/microhttpd.texi')
-rw-r--r--doc/microhttpd.texi11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/microhttpd.texi b/doc/microhttpd.texi
index 9aa25a9f..52f1ec4f 100644
--- a/doc/microhttpd.texi
+++ b/doc/microhttpd.texi
@@ -251,16 +251,21 @@ No more options / last option. This is used to terminate the VARARGs
251list. 251list.
252 252
253@item MHD_OPTION_CONNECTION_MEMORY_LIMIT 253@item MHD_OPTION_CONNECTION_MEMORY_LIMIT
254Maximum memory size per connection (followed by a @code{size_t}). 254Maximum memory size per connection (followed by a @code{size_t}). The
255default is 1 MB (1024*1024 bytes) as defined by the internal constant
256@code{MHD_POOL_SIZE_DEFAULT}.
255 257
256@item MHD_OPTION_CONNECTION_LIMIT 258@item MHD_OPTION_CONNECTION_LIMIT
257Maximum number of concurrenct connections to accept (followed by an 259Maximum number of concurrenct connections to accept (followed by an
258@code{unsigned int}). 260@code{unsigned int}). The default is @code{FD_SETSIZE - 4} (the
261maximum number of file descriptors supported by @code{select} minus
262four for @code{stdin}, @code{stdout}, @code{stderr} and the server
263socket). In other words, the default is as large as possible.
259 264
260@item MHD_OPTION_CONNECTION_TIMEOUT 265@item MHD_OPTION_CONNECTION_TIMEOUT
261After how many seconds of inactivity should a connection automatically 266After how many seconds of inactivity should a connection automatically
262be timed out? (followed by an @code{unsigned int}; use zero for no 267be timed out? (followed by an @code{unsigned int}; use zero for no
263timeout). 268timeout). The default is zero (no timeout).
264 269
265@item MHD_OPTION_NOTIFY_COMPLETED 270@item MHD_OPTION_NOTIFY_COMPLETED
266Register a function that should be called whenever a request has been 271Register a function that should be called whenever a request has been