From fdda99c6eedfbf6ea95576d09dc7aea8ad65673d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 12 Jun 2023 09:25:48 +0200 Subject: [PATCH] CURLOPT_INFILESIZE.3: mention -1 triggers chunked Ref: #11300 Closes #11304 --- docs/libcurl/opts/CURLOPT_INFILESIZE.3 | 3 +++ 1 file changed, 3 insertions(+) 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.