Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). TCP sendfile() hangs, never completes the transfer, and never closes the connection cleanly when CONFIG NET TCP WRITE BUFFERS is enabled together with CONFIG NET SENDFILE.
The task
TCP sendfile() hangs, never completes the transfer, and never closes the connection cleanly when CONFIG_NET_TCP_WRITE_BUFFERS is enabled together with CONFIG_NET_SENDFILE.
Part of henryen/OriGent-RL-Data.