diff options
Diffstat (limited to 'doc/microhttpd.texi')
-rw-r--r-- | doc/microhttpd.texi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/microhttpd.texi b/doc/microhttpd.texi index d55d74ab..9d959d6b 100644 --- a/doc/microhttpd.texi +++ b/doc/microhttpd.texi | |||
@@ -442,7 +442,15 @@ incrementally in @var{upload_data}; | |||
442 | @item upload_data_size | 442 | @item upload_data_size |
443 | set initially to the size of the @var{upload_data} provided; this | 443 | set initially to the size of the @var{upload_data} provided; this |
444 | callback must update this value to the number of bytes @strong{NOT} | 444 | callback must update this value to the number of bytes @strong{NOT} |
445 | processed; | 445 | processed; unless external select is used, the callback maybe |
446 | required to process at least some data. If the callback fails to | ||
447 | process data in multi-threaded or internal-select mode and if the | ||
448 | read-buffer is already at the maximum size that MHD is willing to | ||
449 | use for reading (about half of the maximum amount of memory allowed | ||
450 | for the connection), then MHD will abort handling the connection | ||
451 | and return an internal server error to the client. In order to | ||
452 | avoid this, clients must be able to process upload data incrementally | ||
453 | and reduce the value of @code{upload_data_size}. | ||
446 | 454 | ||
447 | @item con_cls | 455 | @item con_cls |
448 | reference to a pointer, initially set to @mynull{}, that this callback can | 456 | reference to a pointer, initially set to @mynull{}, that this callback can |