Explorar o código

update: 调整默认keepalive空闲时间为120s

Wendal Chen %!s(int64=2) %!d(string=hai) anos
pai
achega
7672ca1ce7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/network/lwip2.1.3/include/lwipopts.h

+ 1 - 1
src/network/lwip2.1.3/include/lwipopts.h

@@ -135,7 +135,7 @@
 #define LWIP_TCPIP_TIMEOUT              1
 #define LWIP_NETIF_HOSTNAME             1
 #define LWIP_TCP_KEEPALIVE              1
-
+#define TCP_KEEPIDLE_DEFAULT            120000
 
 
 #define LWIP_NETCONN_SEM_PER_THREAD     1