Skip to content

Commit e7e9a4c

Browse files
committed
Changed setTimeout to setConnectionTimeout in WebServer
1 parent 496b841 commit e7e9a4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WebServer/src/WebServer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ void WebServer::handleClient() {
430430
case HC_WAIT_READ:
431431
// Wait for data from client to become available
432432
if (_currentClient.available()) {
433-
_currentClient.setTimeout(HTTP_MAX_SEND_WAIT); /* / 1000 removed, WifiClient setTimeout changed to ms */
433+
_currentClient.setConnectionTimeout(HTTP_MAX_SEND_WAIT);
434434
if (_parseRequest(_currentClient)) {
435435
_contentLength = CONTENT_LENGTH_NOT_SET;
436436
_responseCode = 0;

0 commit comments

Comments
 (0)