From: Daniel Stenberg Date: Mon, 12 Jun 2023 07:25:48 +0000 (+0200) Subject: CURLOPT_INFILESIZE.3: mention -1 triggers chunked X-Git-Tag: curl-8_2_0~103 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fdda99c6eedfbf6ea95576d09dc7aea8ad65673d;p=thirdparty%2Fcurl.git CURLOPT_INFILESIZE.3: mention -1 triggers chunked Ref: #11300 Closes #11304 --- diff --git a/docs/libcurl/opts/CURLOPT_INFILESIZE.3 b/docs/libcurl/opts/CURLOPT_INFILESIZE.3 index 4a52b503d3..86961de5e8 100644 --- a/docs/libcurl/opts/CURLOPT_INFILESIZE.3 +++ b/docs/libcurl/opts/CURLOPT_INFILESIZE.3 @@ -42,6 +42,9 @@ mandatory. To unset this value again, set it to -1. +Using \fICURLOPT_UPLOAD(3)\fP to a HTTP/1.1 server and this value set to -1, +makes libcurl do a chunked transfer-encoded upload. + When sending emails using SMTP, this command can be used to specify the optional SIZE parameter for the MAIL FROM command.