-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Update SslStream to implement DuplexStream #51431
Comments
Tagging subscribers to this area: @dotnet/ncl, @vcsjones Issue DetailsWe think TLS probably support half-closed connections. If so, it should be updated to derive from
|
This may be somewhat tricky. While user may not want to send any data, there still may be CloseNotification, other alerts or protocol responses to requests from other side. We could possibly derive from |
Note we would be shutting down TLS, not the socket, so we could still send any other alerts that TLS allows. |
This may still be tricky. It looks like shutdown behavior is only supported in TLS 1.3: https://tools.ietf.org/html/rfc8446#section-6
https://tools.ietf.org/html/rfc8446#section-6.1
I'm talking to Schannel folks to see if this is supported. Also, we can not implement this only on |
Triage: we either implement this or clos this issue for 6.0. It seems like this would usable only for TLS 1.3 atm. |
|
We think TLS probably support half-closed connections. If so, it should be updated to derive from
DuplexStream
. API already approved in #43290.The text was updated successfully, but these errors were encountered: