Skip to content

Commit e127d95

Browse files
committed
chore: align TCP receive windows with default opt
Signed-off-by: Frederic Pillon <frederic.pillon@st.com> Co-Authored-by: raphael valentin <raphaelvalentin@users.noreply.github.com
1 parent fbff5bb commit e127d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lwipopts_default.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ a lot of data that needs to be copied, this should be set high. */
126126
#define TCP_SND_QUEUELEN (2* TCP_SND_BUF/TCP_MSS)
127127

128128
/* TCP receive window. */
129-
#define TCP_WND (3*TCP_MSS)
129+
#define TCP_WND (4*TCP_MSS)
130130

131131
#define LWIP_TCP_KEEPALIVE 1 /* Keep the TCP link active. Important for MQTT/TLS */
132132
#define LWIP_RANDOMIZE_INITIAL_LOCAL_PORTS 1 /* Prevent the same port to be used after reset.

0 commit comments

Comments
 (0)