1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2025-06-07 07:42:01 +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
commit 606a567ca4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)