Skip to content

Commit 323592f

Browse files
YacubaneLinks2004
authored andcommitted
Add possibility to change WEBSOCKETS_TCP_TIMEOUT
1 parent f1ffaed commit 323592f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/WebSockets.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@
9494
#define WEBSOCKETS_YIELD_MORE()
9595
#endif
9696

97+
#ifndef WEBSOCKETS_TCP_TIMEOUT
9798
#define WEBSOCKETS_TCP_TIMEOUT (5000)
99+
#endif
98100

99101
#define NETWORK_ESP8266_ASYNC (0)
100102
#define NETWORK_ESP8266 (1)

0 commit comments

Comments
 (0)