File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ void HttpClient::resetState()
40
40
iIsChunked = false ;
41
41
iChunkLength = 0 ;
42
42
iHttpResponseTimeout = kHttpResponseTimeout ;
43
+ iHttpWaitForDataDelay = kHttpWaitForDataDelay ;
43
44
}
44
45
45
46
void HttpClient::stop ()
@@ -473,7 +474,7 @@ int HttpClient::responseStatusCode()
473
474
{
474
475
// We haven't got any data, so let's pause to allow some to
475
476
// arrive
476
- delay (kHttpWaitForDataDelay );
477
+ delay (iHttpWaitForDataDelay );
477
478
}
478
479
}
479
480
if ( (c == ' \n ' ) && (iStatusCode < 200 && iStatusCode != 101 ) )
@@ -522,7 +523,7 @@ int HttpClient::skipResponseHeaders()
522
523
{
523
524
// We haven't got any data, so let's pause to allow some to
524
525
// arrive
525
- delay (kHttpWaitForDataDelay );
526
+ delay (iHttpWaitForDataDelay );
526
527
}
527
528
}
528
529
if (endOfHeadersReached ())
You can’t perform that action at this time.
0 commit comments