libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 35723abc6735df6f57f89b88557dc14f87c4a5e8
parent 0a38f159fdca2e2b7f17215101af301215abbc3a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  5 Oct 2009 06:29:41 +0000

document defaults as suggested by  
Michael Lenaghan <michaell@dazzit.com>

Diffstat:
MChangeLog | 3+++
Mdoc/microhttpd.texi | 11++++++++---
2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +Mon Oct 5 08:29:06 CEST 2009 + Documenting default values. -CG + Fri Aug 28 22:56:47 CEST 2009 Releasing libmicrohttpd 0.4.3. -CG diff --git 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