We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
shutdown
close_write
close_read
These APIs can be quite important for certain types of servers.
I started trying to implement it and then realised how tricky it is to correctly support flags.
def close_write stop end def shutdown(flags) if flags == ??? stop to_io.shutdown(flags) end
Since the flags can be a symbol, a string, etc.
Also, I don't think SSLSocket can support close_read but I'll experiment.
The text was updated successfully, but these errors were encountered:
SSLSocket#close_write
TLS <= 1.2 doesn't support a half-closed state: https://datatracker.ietf.org/doc/html/rfc5246#section-7.2.1
It may be possible in TLS 1.3: https://datatracker.ietf.org/doc/html/rfc8446#section-6.1
I don't know how OpenSSL is handling it in TLS 1.3.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
These APIs can be quite important for certain types of servers.
I started trying to implement it and then realised how tricky it is to correctly support flags.
Since the flags can be a symbol, a string, etc.
Also, I don't think SSLSocket can support
close_read
but I'll experiment.The text was updated successfully, but these errors were encountered: