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

Monitor TCP connections and close if peer sends [FIN]. #235

Closed
wants to merge 1 commit into from

Conversation

samoconnor
Copy link
Contributor

Without this, Base.isopen(::TCPSocket) will return true even after a [FIN] packet is received, which has the effect of making the connection appear to be available for reuse, only to find that as soon as we try to use it we get a [RST] response. The MbedTLS PR referenced below addresses this issue for TLS close_notify messages.
See: JuliaLang/MbedTLS.jl#145 (comment) for discussion of how the two are related.

@samoconnor
Copy link
Contributor Author

Closed in favour of #236

@samoconnor samoconnor closed this Apr 19, 2018
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