Sfoglia il codice sorgente

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

Wendal Chen 2 anni fa
parent
commit
7672ca1ce7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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