]> git.ipfire.org Git - thirdparty/curl.git/commit
url: change default value for CURLOPT_MAXREDIRS to 30
authorDaniel Stenberg <daniel@haxx.se>
Wed, 2 Aug 2023 16:03:59 +0000 (18:03 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 2 Aug 2023 21:59:59 +0000 (23:59 +0200)
commitd135d040df5b276df5736688eba88d150b0d8a57
tree8096c41d6e5ef42cd7f325a1bc67cbe643ecbca9
parent367a66b1300c04470fddca5ab8bd986e6ffe3da8
url: change default value for CURLOPT_MAXREDIRS to 30

It was previously unlimited by default, but that's not a sensible
default. While changing this has a remote risk of breaking an existing
use case, I figure it is more likely to actually save users from loops.

Closes #11581
docs/libcurl/opts/CURLOPT_MAXREDIRS.3
lib/url.c