forked from M-Labs/artiq
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:
parent
f5deafb267
commit
0db6ef0e1c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue