nuttx/net/tcp
meijian 0bad215cf8 net/tcp: fix tcp will not close when tcp retransmission reaches TCP_MAXRTX
In "psock_send_eventhandler",when retransmit count bigger TCP_MAXRTX nuttx will set release wrb. But before this it will also set "conn->tx_unacked = 0" if we only retransmit one packet(conn->tx_unacked == sent),and In func "tcp_timer" only "conn->tx_unacked > 0" will close the tcp conn. So app will never close if nuttx retransmit over max timers.

Signed-off-by: meijian <meijian@xiaomi.com>
2024-05-22 17:46:04 -03:00
..
CMakeLists.txt
Kconfig
Make.defs
tcp_accept.c
tcp_appsend.c
tcp_backlog.c
tcp_callback.c
tcp_cc.c
tcp_close.c
tcp_conn.c
tcp_connect.c
tcp_devpoll.c
tcp_dump.c
tcp_finddev.c
tcp_getsockopt.c
tcp_input.c
tcp_ioctl.c
tcp_ipselect.c
tcp_listen.c
tcp_monitor.c
tcp_netpoll.c
tcp_notifier.c
tcp_recvfrom.c
tcp_recvwindow.c
tcp_send_buffered.c net/tcp: fix tcp will not close when tcp retransmission reaches TCP_MAXRTX 2024-05-22 17:46:04 -03:00
tcp_send_unbuffered.c
tcp_send.c
tcp_sendfile.c
tcp_seqno.c
tcp_setsockopt.c
tcp_shutdown.c
tcp_timer.c
tcp_txdrain.c
tcp_wrbuffer.c
tcp.h