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

improve reliability of SslStream tests with failing certificate validation #43570

Merged
merged 3 commits into from
Oct 20, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/libraries/System.Net.Security/src/System/Net/Security/SslS…
…tream.Implementation.cs

Co-authored-by: Stephen Toub <stoub@microsoft.com>
  • Loading branch information
wfurt and stephentoub authored Oct 19, 2020
commit 3810babf5a60c249154e23f9f7a37012eb23540c
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ private ProtocolToken ProcessBlob(int frameSize)
}

frameSize = nextHeader.Length + TlsFrameHelper.HeaderSize;
// Can can process more handshake frames in single step but we should avood processing too much re presreve API boundary between handshake and I/O.
// Can process more handshake frames in single step, but we should avoid processing too much so as to preserve API boundary between handshake and I/O.
if (nextHeader.Type != TlsContentType.Handshake || frameSize > _handshakeBuffer.ActiveLength)
{
// We don't have full frame left or we already have app data which needs to be processed by decrypt.
Expand Down