mirror of
https://github.com/curl/curl.git
synced 2026-08-25 11:33:33 +03:00
curl: ensure HTTP 429 triggers --retry
This completes #3794. Also make sure the new tests from #4195 are enabled Closes #4465
This commit is contained in:
parent
1d7fe8390f
commit
f7f0b0012d
3 changed files with 3 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue