mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
558 B
558 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 |
|
|
--max-redirs
Set the maximum number of redirections to follow. When --location or --follow are used, this option prevents curl from following too many redirects. By default the limit is set to 50 redirects. Set this option to -1 to make it unlimited.