mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
tool_operate: --retry for HTTP 408 responses too
This was inadvertently dropped from the code when the parallel support
was added.
Regression since b88940850
(7.66.0)
Reviewed-by: Jay Satiro
Closes #6155
This commit is contained in:
parent
584ccb5ef2
commit
6da7a7e5ce
@ -474,6 +474,7 @@ static CURLcode post_per_transfer(struct GlobalConfig *global,
|
|||||||
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response);
|
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response);
|
||||||
|
|
||||||
switch(response) {
|
switch(response) {
|
||||||
|
case 408: /* Request Timeout */
|
||||||
case 429: /* Too Many Requests (RFC6585) */
|
case 429: /* Too Many Requests (RFC6585) */
|
||||||
case 500: /* Internal Server Error */
|
case 500: /* Internal Server Error */
|
||||||
case 502: /* Bad Gateway */
|
case 502: /* Bad Gateway */
|
||||||
|
Loading…
Reference in New Issue
Block a user