diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-03-31 18:03:48 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-03-31 18:03:48 +0000 |
commit | b0fcfe2b6e2f4c2be54759c92a08222adb986b38 (patch) | |
tree | 85492d452a79d5731797650003611cc59bbc50ea | |
parent | cd4a49767810a2b607adeadb9848575c8b1fadeb (diff) | |
download | libmicrohttpd-b0fcfe2b6e2f4c2be54759c92a08222adb986b38.tar.gz libmicrohttpd-b0fcfe2b6e2f4c2be54759c92a08222adb986b38.zip |
document sizes better
-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 |