1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2025-07-31 18:44:22 +03:00

Merge pull request #125 from carbotaniuman/patch-1

Reduce timeout from 1000ms to 100ms
This commit is contained in:
Andrea Gilardoni
2024-03-22 09:39:33 +01:00
committed by GitHub

View File

@ -342,7 +342,7 @@ protected:
// 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 = 100;
// Number of milliseconds that we'll wait in total without receiving any
// data before returning HTTP_ERROR_TIMED_OUT (during status code and header
// processing)