From ab7a86d1d739f75276e243271e101a0f63b83b5f Mon Sep 17 00:00:00 2001 From: chuckie-development Date: Sun, 1 May 2022 14:43:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9TCP=E9=87=8D=E4=BC=A0?= =?UTF-8?q?=E6=AC=A1=E6=95=B0=E4=B8=BA=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/net/lwip-2.1.2/src/lwipopts.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/net/lwip-2.1.2/src/lwipopts.h b/components/net/lwip-2.1.2/src/lwipopts.h index 265520f..75bdd2f 100644 --- a/components/net/lwip-2.1.2/src/lwipopts.h +++ b/components/net/lwip-2.1.2/src/lwipopts.h @@ -382,8 +382,7 @@ #define TCP_MAXRTX 12 /* Maximum number of retransmissions of SYN segments. */ -//zhaocj modified on 2021-07-07:Increase the number of retransmissions of SYN packets -#define TCP_SYNMAXRTX 8 //4 +#define TCP_SYNMAXRTX 4 /* tcpip thread options */ #ifdef RT_LWIP_TCPTHREAD_PRIORITY -- Gitee