From 35723abc6735df6f57f89b88557dc14f87c4a5e8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 5 Oct 2009 06:29:41 +0000 Subject: document defaults as suggested by Michael Lenaghan --- doc/microhttpd.texi | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'doc/microhttpd.texi') 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 list. @item MHD_OPTION_CONNECTION_MEMORY_LIMIT -Maximum memory size per connection (followed by a @code{size_t}). +Maximum memory size per connection (followed by a @code{size_t}). The +default is 1 MB (1024*1024 bytes) as defined by the internal constant +@code{MHD_POOL_SIZE_DEFAULT}. @item MHD_OPTION_CONNECTION_LIMIT Maximum number of concurrenct connections to accept (followed by an -@code{unsigned int}). +@code{unsigned int}). The default is @code{FD_SETSIZE - 4} (the +maximum number of file descriptors supported by @code{select} minus +four for @code{stdin}, @code{stdout}, @code{stderr} and the server +socket). In other words, the default is as large as possible. @item MHD_OPTION_CONNECTION_TIMEOUT After how many seconds of inactivity should a connection automatically be timed out? (followed by an @code{unsigned int}; use zero for no -timeout). +timeout). The default is zero (no timeout). @item MHD_OPTION_NOTIFY_COMPLETED Register a function that should be called whenever a request has been -- cgit v1.2.3