]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
max-filesize.md: mention zero disables the limit
authorDaniel Stenberg <daniel@haxx.se>
Wed, 7 Aug 2024 15:01:43 +0000 (17:01 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 7 Aug 2024 16:16:26 +0000 (18:16 +0200)
Reported-by: MasterInQuestion on github
Fixes #14440
Closes #14443

docs/cmdline-opts/max-filesize.md

index 998359cf740747d0beb5f40c47877d8b6fe5e372..cf2ac6537655a4eb5bbac3fdeb76d79fe88284b0 100644 (file)
@@ -16,9 +16,11 @@ Example:
 
 # `--max-filesize`
 
-Specify the maximum size (in bytes) of a file to download. If the file
-requested is larger than this value, the transfer does not start and curl
-returns with exit code 63.
+When set to a non-zero value, it specifies the maximum size (in bytes) of a
+file to download. If the file requested is larger than this value, the
+transfer does not start and curl returns with exit code 63.
+
+Setting the maximum value to zero disables the limit.
 
 A size modifier may be used. For example, Appending 'k' or 'K' counts the
 number as kilobytes, 'm' or 'M' makes it megabytes, while 'g' or 'G' makes it