Skip to content
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

Set got_fin if in CS_SYN_RECV state and receive ST_FIN #112

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

Conversation

inetic
Copy link

@inetic inetic commented Jun 1, 2018

Currently the server socket ignores the ST_FIN packet when in CS_SYN_RECV state. So when the other end closes the connection, the socket in CS_SYN_RECV state has no other option than to timeout.

This commit causes the serving socket not to ignore the ST_FIN packet in that state so that it can exit early.

@inetic
Copy link
Author

inetic commented Jun 1, 2018

Note: This commit in the clostra repository seems to serve the same purpose.

@povilasb
Copy link

Whom should we ping to get this merged? @ghazel @ssiloti :)

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.

2 participants