mirror of
https://github.com/curl/curl.git
synced 2025-04-24 16:40:32 +08: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);
|
||||
|
||||
switch(response) {
|
||||
case 408: /* Request Timeout */
|
||||
case 429: /* Too Many Requests (RFC6585) */
|
||||
case 500: /* Internal Server Error */
|
||||
case 502: /* Bad Gateway */
|
||||
|
Loading…
x
Reference in New Issue
Block a user