Skip to content

Commit 8e3e926

Browse files
committed
Increase HTTP_MAX_SEND_WAIT to 30s to handle OTA on MacOS
1 parent 3670e2b commit 8e3e926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WebServer/src/WebServer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ enum HTTPAuthMethod { BASIC_AUTH, DIGEST_AUTH };
4343

4444
#define HTTP_MAX_DATA_WAIT 5000 //ms to wait for the client to send the request
4545
#define HTTP_MAX_POST_WAIT 5000 //ms to wait for POST data to arrive
46-
#define HTTP_MAX_SEND_WAIT 5000 //ms to wait for data chunk to be ACKed
46+
#define HTTP_MAX_SEND_WAIT 30000 //ms to wait for data chunk to be ACKed
4747
#define HTTP_MAX_CLOSE_WAIT 2000 //ms to wait for the client to close the connection
4848

4949
#define CONTENT_LENGTH_UNKNOWN ((size_t) -1)

0 commit comments

Comments
 (0)