From 74f959fb185080ee5b0edbd467953201e4a1528b Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Thu, 2 Dec 2021 13:23:16 +0100 Subject: [PATCH] Increase auth retries to 2 --- src/asynchttprequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asynchttprequest.cpp b/src/asynchttprequest.cpp index a90fb75..09dd156 100644 --- a/src/asynchttprequest.cpp +++ b/src/asynchttprequest.cpp @@ -140,7 +140,7 @@ tl::expected AsyncHttpRequest::createClient(std::string_view esp_http_client_config_t config{}; config.url = url.data(); - config.max_authorization_retries = 1; + config.max_authorization_retries = 2; config.event_handler = staticHttpEventHandler; config.user_data = this;