mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Increase TCP send buffer and receive window limitation when TCP window scale is enabled
This commit is contained in:
parent
2fdb56e741
commit
6f4e257601
@ -320,7 +320,8 @@ menu "LWIP"
|
||||
config LWIP_TCP_SND_BUF_DEFAULT
|
||||
int "Default send buffer size"
|
||||
default 5744 # 4 * default MSS
|
||||
range 2440 65535
|
||||
range 2440 65535 if !LWIP_WND_SCALE
|
||||
range 2440 1024000 if LWIP_WND_SCALE
|
||||
help
|
||||
Set default send buffer size for new TCP sockets.
|
||||
|
||||
@ -336,7 +337,8 @@ menu "LWIP"
|
||||
config LWIP_TCP_WND_DEFAULT
|
||||
int "Default receive window size"
|
||||
default 5744 # 4 * default MSS
|
||||
range 2440 65535
|
||||
range 2440 65535 if !LWIP_WND_SCALE
|
||||
range 2440 1024000 if LWIP_WND_SCALE
|
||||
help
|
||||
Set default TCP receive window size for new TCP sockets.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user