Răsfoiți Sursa

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

Wendal Chen 2 ani în urmă
părinte
comite
7672ca1ce7
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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