tcp_input: remove tcp_callback(ABORT) when accept conn recv TCP_RESET#15380
tcp_input: remove tcp_callback(ABORT) when accept conn recv TCP_RESET#15380xiaoxiang781216 merged 1 commit intoapache:masterfrom
Conversation
when accept conn receives TCP_RESET, only accept conn itself should handle the event, and there is no need to notify the listening conn. otherwise, the server's poll will return with POLLERR and POLLHUP. this may cause some applications to execute incorrect logic in the future. Signed-off-by: zhanghongyu <[email protected]>
|
[Experimental Bot, please feedback here] No, this PR description does not fully meet the NuttX requirements. Here's why and how to improve it: Missing Information in Summary:
Missing Information in Impact: Fill out all impact sections. Even if the answer is "NO," explicitly state it. This PR likely has implications for:
Missing Information in Testing:
Example of an Improved Summary: The TCP/IP stack, specifically the By providing this more complete information, your PR will be much easier to review and understand, increasing its chances of being merged quickly. |
Summary
when accept conn receives TCP_RESET, only accept conn itself should handle the event, and there is no need to notify the listening conn. otherwise, the server's poll will return with POLLERR and POLLHUP. this may cause some applications to execute incorrect logic in the future.
Impact
Testing
cortex-m33 board.