2
0
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 
This commit is contained in:
Daniel Stenberg 2020-11-02 00:04:22 +01:00
parent 584ccb5ef2
commit 6da7a7e5ce
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

@ -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 */