Merge branch 'bugfix/modify_TCP_MSS_range_v3.2' into 'release/v3.2'
Change the default value of TCP_MSS (backport v3.2) See merge request espressif/esp-idf!9049
This commit is contained in:
commit
e5dde19f74
1 changed files with 6 additions and 3 deletions
|
@ -311,12 +311,15 @@ config TCP_SYNMAXRTX
|
||||||
|
|
||||||
config TCP_MSS
|
config TCP_MSS
|
||||||
int "Maximum Segment Size (MSS)"
|
int "Maximum Segment Size (MSS)"
|
||||||
default 1436
|
default 1440
|
||||||
range 1220 1436
|
range 536 1440
|
||||||
help
|
help
|
||||||
Set maximum segment size for TCP transmission.
|
Set maximum segment size for TCP transmission.
|
||||||
|
|
||||||
Can be set lower to save RAM, the default value 1436 will give best throughput.
|
Can be set lower to save RAM, the default value 1460(ipv4)/1440(ipv6) will give best throughput.
|
||||||
|
IPv4 TCP_MSS Range: 576 <= TCP_MSS <= 1460
|
||||||
|
IPv6 TCP_MSS Range: 1220<= TCP_MSS <= 1440
|
||||||
|
|
||||||
|
|
||||||
config TCP_MSL
|
config TCP_MSL
|
||||||
int "Maximum segment lifetime (MSL)"
|
int "Maximum segment lifetime (MSL)"
|
||||||
|
|
Loading…
Reference in a new issue