From cae6e8639e1b76d54004d6dc2f1cb9291e3adebc Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 21 Jun 2016 09:45:53 +0000 Subject: [PATCH] Revert "runtime: disable lwip TCP keepalive." This reverts commit 0db6ef0e1ca32068ffd17e1fada770c7a30d2e86. --- artiq/runtime/liblwip/lwipopts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/runtime/liblwip/lwipopts.h b/artiq/runtime/liblwip/lwipopts.h index d53f76785..1dc945e96 100644 --- a/artiq/runtime/liblwip/lwipopts.h +++ b/artiq/runtime/liblwip/lwipopts.h @@ -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 0 +#define LWIP_TCP_KEEPALIVE 1 #define TCP_KEEPIDLE_DEFAULT 1250 #define TCP_KEEPINTVL_DEFAULT 1000 #define TCP_KEEPCNT_DEFAULT 3