From f7f0b0012d42db74a293d4df19b39644015f1868 Mon Sep 17 00:00:00 2001 From: Stian Soiland-Reyes Date: Fri, 4 Oct 2019 16:18:23 +0100 Subject: curl: ensure HTTP 429 triggers --retry This completes #3794. Also make sure the new tests from #4195 are enabled Closes #4465 --- src/tool_operate.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 */ -- cgit v1.2.3