Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 606a567

Browse files
Merge pull request #125 from carbotaniuman/patch-1
Reduce timeout from 1000ms to 100ms
2 parents 9d6adef + 527967d commit 606a567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/HttpClient.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ class HttpClient : public Client
342342

343343
// Number of milliseconds that we wait each time there isn't any data
344344
// available to be read (during status code and header processing)
345-
static const int kHttpWaitForDataDelay = 1000;
345+
static const int kHttpWaitForDataDelay = 100;
346346
// Number of milliseconds that we'll wait in total without receiving any
347347
// data before returning HTTP_ERROR_TIMED_OUT (during status code and header
348348
// processing)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /