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

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