Replies: 1 comment 6 replies
-
This is the right place - do you have a test case for this? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
the shutdown doesn't lead to ECONNRESET on the socket, instead it is ETIMEDOUT.
kernel traces show that shutdown switches the socket TCP_SYN_SENT -> TCP_CLOSE, sets ECONNRESET on the socket, triggers a POLLERR poll event, __io_poll_execute accepts and discards the event then starts another io_connect, the later sees the TCP_CLOSE'd socket and issues TCP_CLOSE -> TCP_SYN_SENT transition as if the socket was pristine.
i believe this is incorrect behavior. could you please advise if I have chosen the right place to discuss this issue or where else should I turn for qualified assistance?
Beta Was this translation helpful? Give feedback.
All reactions