diff --git a/src/asynchttprequest.cpp b/src/asynchttprequest.cpp index a02e2a4..ee2dd3c 100644 --- a/src/asynchttprequest.cpp +++ b/src/asynchttprequest.cpp @@ -133,6 +133,7 @@ tl::expected AsyncHttpRequest::createClient(std::string_view esp_http_client_config_t config{}; config.url = url.data(); + config.max_authorization_retries = 1; config.event_handler = staticHttpEventHandler; config.user_data = this;