Revert "runtime: disable lwip TCP keepalive."

This reverts commit 0db6ef0e1c.
This commit is contained in:
whitequark 2016-06-21 09:45:53 +00:00
parent 0db6ef0e1c
commit cae6e8639e
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 ---------- */ /* ---------- TCP options ---------- */
#define LWIP_TCP 1 #define LWIP_TCP 1
#define LWIP_TCP_KEEPALIVE 0 #define LWIP_TCP_KEEPALIVE 1
#define TCP_KEEPIDLE_DEFAULT 1250 #define TCP_KEEPIDLE_DEFAULT 1250
#define TCP_KEEPINTVL_DEFAULT 1000 #define TCP_KEEPINTVL_DEFAULT 1000
#define TCP_KEEPCNT_DEFAULT 3 #define TCP_KEEPCNT_DEFAULT 3