]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: let the max filesize option stop too big transfers too
authorDaniel Stenberg <daniel@haxx.se>
Sat, 23 Sep 2023 09:20:00 +0000 (11:20 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 23 Sep 2023 09:20:20 +0000 (11:20 +0200)
commit914e49b9b7375b22c15fd2ae9a3c3da44841e5ac
treeabf1b6197759d5e6c8f149ce85d0b440bd9fa907
parent38029101e2d78ba125732b3bab6ec267b80a0e72
lib: let the max filesize option stop too big transfers too

Previously it would only stop them from getting started if the size is
known to be too big then.

Update the libcurl and curl docs accordingly.

Fixes #11810
Reported-by: Elliot Killick
Assisted-by: Jay Satiro
Closes #11820
13 files changed:
docs/cmdline-opts/max-filesize.d
docs/libcurl/opts/CURLOPT_MAXFILESIZE.3
docs/libcurl/opts/CURLOPT_MAXFILESIZE_LARGE.3
lib/c-hyper.c
lib/file.c
lib/ldap.c
lib/mqtt.c
lib/progress.c
lib/progress.h
lib/smb.c
lib/telnet.c
lib/tftp.c
lib/transfer.c