mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 00:34:10 +08:00
646c41dced
If TCP_FIN is received before the user calls accept, the later accept will report an error, then the previously received data cannot be read. operation flow: tcp_server_listen -> tcp_client_connect -> tcp_client_send -> tcp_client_close -> tcp_server_accept(fix this error) -> tcp_server_recv Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>