diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-10-05 06:29:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-10-05 06:29:41 +0000 |
commit | 35723abc6735df6f57f89b88557dc14f87c4a5e8 (patch) | |
tree | 2480957369b417d34b807acf577b37f335e4b088 /doc/microhttpd.texi | |
parent | 0a38f159fdca2e2b7f17215101af301215abbc3a (diff) | |
download | libmicrohttpd-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.texi | 11 |
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 | |||
251 | list. | 251 | list. |
252 | 252 | ||
253 | @item MHD_OPTION_CONNECTION_MEMORY_LIMIT | 253 | @item MHD_OPTION_CONNECTION_MEMORY_LIMIT |
254 | Maximum memory size per connection (followed by a @code{size_t}). | 254 | Maximum memory size per connection (followed by a @code{size_t}). The |
255 | default 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 |
257 | Maximum number of concurrenct connections to accept (followed by an | 259 | Maximum 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 |
261 | maximum number of file descriptors supported by @code{select} minus | ||
262 | four for @code{stdin}, @code{stdout}, @code{stderr} and the server | ||
263 | socket). In other words, the default is as large as possible. | ||
259 | 264 | ||
260 | @item MHD_OPTION_CONNECTION_TIMEOUT | 265 | @item MHD_OPTION_CONNECTION_TIMEOUT |
261 | After how many seconds of inactivity should a connection automatically | 266 | After how many seconds of inactivity should a connection automatically |
262 | be timed out? (followed by an @code{unsigned int}; use zero for no | 267 | be timed out? (followed by an @code{unsigned int}; use zero for no |
263 | timeout). | 268 | timeout). The default is zero (no timeout). |
264 | 269 | ||
265 | @item MHD_OPTION_NOTIFY_COMPLETED | 270 | @item MHD_OPTION_NOTIFY_COMPLETED |
266 | Register a function that should be called whenever a request has been | 271 | Register a function that should be called whenever a request has been |