mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
bugfix: fix TCP timer interval
This commit is contained in:
@ -359,7 +359,7 @@ menu "LWIP"
|
|||||||
help
|
help
|
||||||
Speed up the TCP retransmission interval. If disabled,
|
Speed up the TCP retransmission interval. If disabled,
|
||||||
it is recommended to change the number of SYN retransmissions to 6,
|
it is recommended to change the number of SYN retransmissions to 6,
|
||||||
TCP timer interval to 250, and TCP rto time to 3000.
|
and TCP initial rto time to 3000.
|
||||||
|
|
||||||
config LWIP_TCP_MAXRTX
|
config LWIP_TCP_MAXRTX
|
||||||
int "Maximum number of retransmissions of data segments"
|
int "Maximum number of retransmissions of data segments"
|
||||||
@ -389,8 +389,7 @@ menu "LWIP"
|
|||||||
|
|
||||||
config LWIP_TCP_TMR_INTERVAL
|
config LWIP_TCP_TMR_INTERVAL
|
||||||
int "TCP timer interval(ms)"
|
int "TCP timer interval(ms)"
|
||||||
default 250 if !LWIP_TCP_HIGH_SPEED_RETRANSMISSION
|
default 250
|
||||||
default 125 if LWIP_TCP_HIGH_SPEED_RETRANSMISSION
|
|
||||||
help
|
help
|
||||||
Set TCP timer interval in milliseconds.
|
Set TCP timer interval in milliseconds.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user