diff options
author | Stian Soiland-Reyes <stain@apache.org> | 2019-10-04 16:18:23 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-10-05 11:41:06 +0200 |
commit | f7f0b0012d42db74a293d4df19b39644015f1868 (patch) | |
tree | 371b3a7aebb6e4cc012d7eaa09f28805aeb5ec3a /src | |
parent | 1d7fe8390f01295e725be3b9e6840e4828da07e2 (diff) |
curl: ensure HTTP 429 triggers --retry
This completes #3794.
Also make sure the new tests from #4195 are enabled
Closes #4465
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_operate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index c2fed998c..b82a6672d 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -468,6 +468,7 @@ static CURLcode post_per_transfer(struct GlobalConfig *global, curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response); switch(response) { + case 429: /* Too Many Requests (RFC6585) */ case 500: /* Internal Server Error */ case 502: /* Bad Gateway */ case 503: /* Service Unavailable */ |