From: Daniel Stenberg Date: Sun, 1 Nov 2020 23:04:22 +0000 (+0100) Subject: tool_operate: --retry for HTTP 408 responses too X-Git-Tag: curl-7_74_0~115 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6da7a7e5ce9a54ee577403b1f38ed80c0c527988;p=thirdparty%2Fcurl.git 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 --- diff --git a/src/tool_operate.c b/src/tool_operate.c index 00003797fe..4ad5052ffa 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -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 */