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