summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/max-redirs.d
blob: a97860a8bd6a7179181d034c1eb8072b4b055d80 (plain)
1
2
3
4
5
6
7
8
9
10
Long: max-redirs
Arg: <num>
Help: Maximum number of redirects allowed
Protocols: HTTP
---
Set maximum number of redirection-followings allowed. When --location is used,
is used to prevent curl from following redirections too much. By default, the
limit is set to 50 redirections. Set this option to -1 to make it unlimited.

If this option is used several times, the last one will be used.