diff options
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r-- | doc/libmicrohttpd.texi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi index fed59f3b..b5284c3c 100644 --- a/doc/libmicrohttpd.texi +++ b/doc/libmicrohttpd.texi | |||
@@ -397,7 +397,10 @@ list. | |||
397 | @cindex memory, limiting memory utilization | 397 | @cindex memory, limiting memory utilization |
398 | Maximum memory size per connection (followed by a @code{size_t}). The | 398 | Maximum memory size per connection (followed by a @code{size_t}). The |
399 | default is 32 kB (32*1024 bytes) as defined by the internal constant | 399 | default is 32 kB (32*1024 bytes) as defined by the internal constant |
400 | @code{MHD_POOL_SIZE_DEFAULT}. | 400 | @code{MHD_POOL_SIZE_DEFAULT}. Values above 128k are unlikely to |
401 | result in much benefit, as half of the memory will be typically used | ||
402 | for IO, and TCP buffers are unlikely to support window sizes above 64k | ||
403 | on most systems. | ||
401 | 404 | ||
402 | @item MHD_OPTION_CONNECTION_LIMIT | 405 | @item MHD_OPTION_CONNECTION_LIMIT |
403 | @cindex connection, limiting number of connections | 406 | @cindex connection, limiting number of connections |
@@ -1888,6 +1891,7 @@ the @code{POST} format); | |||
1888 | maximum number of bytes to use for internal buffering (used only for the | 1891 | maximum number of bytes to use for internal buffering (used only for the |
1889 | parsing, specifically the parsing of the keys). A tiny value (256-1024) | 1892 | parsing, specifically the parsing of the keys). A tiny value (256-1024) |
1890 | should be sufficient; do @strong{NOT} use a value smaller than 256; | 1893 | should be sufficient; do @strong{NOT} use a value smaller than 256; |
1894 | for good performance, use 32k or 64k (i.e. 65536). | ||
1891 | 1895 | ||
1892 | @item iterator | 1896 | @item iterator |
1893 | iterator to be called with the parsed data; must @strong{NOT} be | 1897 | iterator to be called with the parsed data; must @strong{NOT} be |