aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/max-redirs.d
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-11-16 14:20:36 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-11-16 15:15:57 +0100
commit342aa4797edfabba78755e798d23a5b6d288d50b (patch)
treec9607e88e05cef2f5084f6428151c5de52ee2fc4 /docs/cmdline-opts/max-redirs.d
parentc3c1e9618513d245861c35ec0c563ab71ce892bb (diff)
cmdline-docs: more conversion
Diffstat (limited to 'docs/cmdline-opts/max-redirs.d')
-rw-r--r--docs/cmdline-opts/max-redirs.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/cmdline-opts/max-redirs.d b/docs/cmdline-opts/max-redirs.d
new file mode 100644
index 000000000..04b824bd2
--- /dev/null
+++ b/docs/cmdline-opts/max-redirs.d
@@ -0,0 +1,11 @@
+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 \&"in absurdum". 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.