mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'feature/make_tcp_rto_configurable_v4.1' into 'release/v4.1'
make TCP rto time configurable (backport v4.1) See merge request espressif/esp-idf!9212
This commit is contained in:
commit
a40a5405b7
@ -479,6 +479,13 @@ menu "LWIP"
|
||||
help
|
||||
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
|
||||
|
||||
menu "UDP"
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 50e4e0d1821a6e5deab0ead9f35ffb4e60625ea6
|
||||
Subproject commit 64b640ecae5a6ce510814944d75e9ff408d3fc8d
|
@ -386,6 +386,12 @@
|
||||
#define TCP_RCV_SCALE CONFIG_LWIP_TCP_RCV_SCALE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* LWIP_TCP_RTO_TIME: TCP rto time.
|
||||
* Default is 3 second.
|
||||
*/
|
||||
#define LWIP_TCP_RTO_TIME CONFIG_LWIP_TCP_RTO_TIME
|
||||
|
||||
/*
|
||||
----------------------------------
|
||||
---------- Pbuf options ----------
|
||||
|
Loading…
Reference in New Issue
Block a user