mirror of
https://github.com/curl/curl.git
synced 2026-06-09 20:44:15 +03:00
After Gmail called out the typo I fixed on
532d89a866, I've decided to paste the
whole man page into Google docs and check what other issues it would
spot.
I know, it sounds silly, but I've just spent the last hour and a half
going over each one of them and fixing everything which was a true
finding and non-controversial.
Closes #17480
21 lines
525 B
Markdown
21 lines
525 B
Markdown
---
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: max-redirs
|
|
Arg: <num>
|
|
Help: Maximum number of redirects allowed
|
|
Protocols: HTTP
|
|
Category: http
|
|
Added: 7.5
|
|
Multi: single
|
|
See-also:
|
|
- location
|
|
Example:
|
|
- --max-redirs 3 --location $URL
|
|
---
|
|
|
|
# `--max-redirs`
|
|
|
|
Set the 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.
|