mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'feature/make_tcp_rto_configurable_v4.0' into 'release/v4.0'
make TCP rto time configurable (backport v4.0) See merge request espressif/esp-idf!9213
This commit is contained in:
@ -449,6 +449,13 @@ menu "LWIP"
|
|||||||
help
|
help
|
||||||
Enable this feature to support TCP window scaling.
|
Enable this feature to support TCP window scaling.
|
||||||
|
|
||||||
|
config LWIP_TCP_RTO_TIME
|
||||||
|
int "Default TCP rto time"
|
||||||
|
default 3000
|
||||||
|
help
|
||||||
|
Set default TCP rto time for a reasonable initial rto.
|
||||||
|
In bad network environment, recommend set value of rto time to 1500.
|
||||||
|
|
||||||
endmenu # TCP
|
endmenu # TCP
|
||||||
|
|
||||||
menu "UDP"
|
menu "UDP"
|
||||||
|
Submodule components/lwip/lwip updated: 50e4e0d182...64b640ecae
@ -376,6 +376,12 @@
|
|||||||
#define TCP_RCV_SCALE CONFIG_LWIP_TCP_RCV_SCALE
|
#define TCP_RCV_SCALE CONFIG_LWIP_TCP_RCV_SCALE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* LWIP_TCP_RTO_TIME: TCP rto time.
|
||||||
|
* Default is 3 second.
|
||||||
|
*/
|
||||||
|
#define LWIP_TCP_RTO_TIME CONFIG_LWIP_TCP_RTO_TIME
|
||||||
|
|
||||||
/*
|
/*
|
||||||
----------------------------------
|
----------------------------------
|
||||||
---------- Pbuf options ----------
|
---------- Pbuf options ----------
|
||||||
|
Reference in New Issue
Block a user