Skip to content

Add SslStream test for zero-byte reads - #37128

Merged
stephentoub merged 2 commits into
dotnet:masterfrom
stephentoub:ssl0read
May 31, 2020
Merged

Add SslStream test for zero-byte reads#37128
stephentoub merged 2 commits into
dotnet:masterfrom
stephentoub:ssl0read

Conversation

@stephentoub

Copy link
Copy Markdown
Member

We have higher-level tests for libraries like WebSockets that validate the behavior of zero-byte reads, but we don't currently have one in System.Net.Security's tests. Adding one.

Closes #37122
cc: @wfurt

@ghost

ghost commented May 28, 2020

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/ncl
Notify danmosemsft if you want to be subscribed.

@wfurt wfurt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. There is helper function you can use to simplify TCP connect.

@davidsh davidsh added this to the 5.0 milestone May 28, 2020
We have higher-level tests for libraries like WebSockets that validate the behavior of zero-byte reads, but we don't currently have one in System.Net.Security's tests.  Adding one.
@stephentoub
stephentoub merged commit baedfec into dotnet:master May 31, 2020
@stephentoub
stephentoub deleted the ssl0read branch May 31, 2020 14:19
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.