]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_INFILESIZE.3: mention -1 triggers chunked
authorDaniel Stenberg <daniel@haxx.se>
Mon, 12 Jun 2023 07:25:48 +0000 (09:25 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 12 Jun 2023 21:23:04 +0000 (23:23 +0200)
Ref: #11300
Closes #11304

docs/libcurl/opts/CURLOPT_INFILESIZE.3

index 4a52b503d3ac40c5143c4a13da079810fd81bad9..86961de5e87b58dbacc6a0b74e384d1feb5c1286 100644 (file)
@@ -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.