master-server/deps/curl/docs/cmdline-opts/max-redirs.md
2024-05-15 15:20:32 -04:00

521 B

c SPDX-License-Identifier Long Arg Help Protocols Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl max-redirs <num> Maximum number of redirects allowed HTTP http 7.5 single
location
--max-redirs 3 --location $URL

--max-redirs

Set maximum number of redirections to follow. When --location is used, to prevent curl from following too many redirects, by default, the limit is set to 50 redirects. Set this option to -1 to make it unlimited.