Skip to content

Update socket.c #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update socket.c #103

wants to merge 1 commit into from

Conversation

reiyawea
Copy link

Use "disconnect()" instead of "close()" during CLOSE_WAIT, so as to reply FIN flag after receiving a FIN flag. Otherwise no FIN will be sent and the peer gets stuck in FIN_WAIT_2.

Change to "disconnect()" so as to reply FIN flag after receiving a FIN flag. Otherwise no FIN will be sent and the peer gets stuck in FIN_WAIT_2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant