tcp: Make TCP FIN2 timeout configurable

2.1.3-esp: 9bad641b Lwip:add TCP Fin2 timeout configuration
This commit is contained in:
xueyunfei
2024-09-10 12:50:59 +02:00
committed by David Cermak
parent 8078776ba1
commit 403ee146d6
+2
View File
@@ -125,7 +125,9 @@ err_t tcp_process_refused_data(struct tcp_pcb *pcb);
#define TCP_SLOW_INTERVAL (2*TCP_TMR_INTERVAL) /* the coarse grained timeout in milliseconds */
#endif /* TCP_SLOW_INTERVAL */
#ifndef TCP_FIN_WAIT_TIMEOUT
#define TCP_FIN_WAIT_TIMEOUT 20000 /* milliseconds */
#endif /* TCP_FIN_WAIT_TIMEOUT */
#define TCP_SYN_RCVD_TIMEOUT 20000 /* milliseconds */
#define TCP_OOSEQ_TIMEOUT 6U /* x RTO */