From f7393c545234bf914ad4258860b4d62ec582e2d7 Mon Sep 17 00:00:00 2001 From: TechNyquist Date: Wed, 20 Feb 2019 18:57:37 +0100 Subject: [PATCH] shortened retry delay as fix of long lasting body download --- src/HttpClient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpClient.h b/src/HttpClient.h index 38fd799..0830d9e 100644 --- a/src/HttpClient.h +++ b/src/HttpClient.h @@ -340,7 +340,7 @@ class HttpClient : public Client // Number of milliseconds that we wait each time there isn't any data // available to be read (during status code and header processing) - static const int kHttpWaitForDataDelay = 1000; + static const int kHttpWaitForDataDelay = 30; // Number of milliseconds that we'll wait in total without receiveing any // data before returning HTTP_ERROR_TIMED_OUT (during status code and header // processing)