mirror of
https://github.com/curl/curl.git
synced 2026-07-23 08:37:16 +03: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue