diff options
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 9f484d4e..44180c9b 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -420,8 +420,11 @@ enum MHD_OPTION | |||
420 | MHD_OPTION_END = 0, | 420 | MHD_OPTION_END = 0, |
421 | 421 | ||
422 | /** | 422 | /** |
423 | * Maximum memory size per connection (followed by a | 423 | * Maximum memory size per connection (followed by a size_t). |
424 | * size_t). | 424 | * Default is 32 kb (MHD_POOL_SIZE_DEFAULT). |
425 | * Values above 128k are unlikely to result in much benefit, as half | ||
426 | * of the memory will be typically used for IO, and TCP buffers are | ||
427 | * unlikely to support window sizes above 64k on most systems. | ||
425 | */ | 428 | */ |
426 | MHD_OPTION_CONNECTION_MEMORY_LIMIT = 1, | 429 | MHD_OPTION_CONNECTION_MEMORY_LIMIT = 1, |
427 | 430 | ||
@@ -1645,7 +1648,8 @@ const char *MHD_get_response_header (struct MHD_Response *response, | |||
1645 | * internal buffering (used only for the parsing, | 1648 | * internal buffering (used only for the parsing, |
1646 | * specifically the parsing of the keys). A | 1649 | * specifically the parsing of the keys). A |
1647 | * tiny value (256-1024) should be sufficient. | 1650 | * tiny value (256-1024) should be sufficient. |
1648 | * Do NOT use a value smaller than 256. | 1651 | * Do NOT use a value smaller than 256. For good |
1652 | * performance, use 32 or 64k (i.e. 65536). | ||
1649 | * @param iter iterator to be called with the parsed data, | 1653 | * @param iter iterator to be called with the parsed data, |
1650 | * Must NOT be NULL. | 1654 | * Must NOT be NULL. |
1651 | * @param cls first argument to ikvi | 1655 | * @param cls first argument to ikvi |