[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26696 - libmicrohttpd/doc
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26696 - libmicrohttpd/doc |
Date: |
Sun, 31 Mar 2013 20:03:48 +0200 |
Author: grothoff
Date: 2013-03-31 20:03:48 +0200 (Sun, 31 Mar 2013)
New Revision: 26696
Modified:
libmicrohttpd/doc/libmicrohttpd.texi
Log:
document sizes better
Modified: libmicrohttpd/doc/libmicrohttpd.texi
===================================================================
--- libmicrohttpd/doc/libmicrohttpd.texi 2013-03-31 18:03:39 UTC (rev
26695)
+++ libmicrohttpd/doc/libmicrohttpd.texi 2013-03-31 18:03:48 UTC (rev
26696)
@@ -397,7 +397,10 @@
@cindex memory, limiting memory utilization
Maximum memory size per connection (followed by a @code{size_t}). The
default is 32 kB (32*1024 bytes) as defined by the internal constant
address@hidden
address@hidden Values above 128k are unlikely to
+result in much benefit, as half of the memory will be typically used
+for IO, and TCP buffers are unlikely to support window sizes above 64k
+on most systems.
@item MHD_OPTION_CONNECTION_LIMIT
@cindex connection, limiting number of connections
@@ -1888,6 +1891,7 @@
maximum number of bytes to use for internal buffering (used only for the
parsing, specifically the parsing of the keys). A tiny value (256-1024)
should be sufficient; do @strong{NOT} use a value smaller than 256;
+for good performance, use 32k or 64k (i.e. 65536).
@item iterator
iterator to be called with the parsed data; must @strong{NOT} be
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26696 - libmicrohttpd/doc,
gnunet <=