Skip to content

Commit

Permalink
Set TCP window size to 2 MSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed May 27, 2024
1 parent ac10f01 commit 91d7801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gc/lwip/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ a lot of data that needs to be copied, this should be set high. */
#define TCP_SND_QUEUELEN (36*TCP_SND_BUF/TCP_MSS)

/* TCP receive window. */
#define TCP_WND (TCP_MSS)
#define TCP_WND (2*TCP_MSS)

/* Maximum number of retransmissions of data segments. */
#define TCP_MAXRTX 12
Expand Down

0 comments on commit 91d7801

Please sign in to comment.