forked from M-Labs/artiq
1
0
Fork 0

runtime: disable lwip TCP keepalive.

This sometimes results in an RST sent by lwip after a retransmission,
although it is not clear exactly why. See #456.
This commit is contained in:
whitequark 2016-06-20 18:55:17 +00:00
parent f5deafb267
commit 0db6ef0e1c
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ a lot of data that needs to be copied, this should be set high. */
/* ---------- TCP options ---------- */
#define LWIP_TCP 1
#define LWIP_TCP_KEEPALIVE 1
#define LWIP_TCP_KEEPALIVE 0
#define TCP_KEEPIDLE_DEFAULT 1250
#define TCP_KEEPINTVL_DEFAULT 1000
#define TCP_KEEPCNT_DEFAULT 3