From dd6815b90f99829f977721cdfc566a9abf3d0b31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Brochet?= Date: Fri, 12 Apr 2024 14:02:39 +0200 Subject: [PATCH] retry request on HTTP 429 error --- src/curl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/curl.cpp b/src/curl.cpp index d93d0e7..3ad7e6c 100644 --- a/src/curl.cpp +++ b/src/curl.cpp @@ -2688,6 +2688,7 @@ int S3fsCurl::RequestPerform(bool dontAddAuthHeaders /*=false*/) result = -ENOTSUP; break; + case 429: case 500: case 503: { S3FS_PRN_INFO3("HTTP response code %ld was returned, slowing down", responseCode);