Skip to content

Fix the issue of TLS handshake failure in .NET 8 environment.#616

Merged
filipbitola merged 2 commits into
Azure:devfrom
nivalxer:fix_tls_net8
Feb 6, 2024
Merged

Fix the issue of TLS handshake failure in .NET 8 environment.#616
filipbitola merged 2 commits into
Azure:devfrom
nivalxer:fix_tls_net8

Conversation

@nivalxer

@nivalxer nivalxer commented Dec 1, 2023

Copy link
Copy Markdown
Contributor

A recent change was made to SslStream which calls Stream.Read on the inner stream with a zero byte buffer. So, in the .NET 8 environment, all TLS sessions will get stuck at the initialization phase.

  • Fix the issue of TLS handshake failure in .NET 8 environment
  • Add .NET 8 as the target for all test case projects.

AppVeyor does not currently support the .NET 8 SDK.

Signed-off-by: nivalxer <nivalxer@gmail.com>
@nivalxer

nivalxer commented Dec 1, 2023

Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree

@nivalxer nivalxer force-pushed the fix_tls_net8 branch 2 times, most recently from 6f242ee to f2b92b3 Compare December 8, 2023 15:44
Signed-off-by: nivalxer <nivalxer@gmail.com>
@nivalxer

nivalxer commented Feb 5, 2024

Copy link
Copy Markdown
Contributor Author

I have been running in a production environment with TLS encrypted communication for 1 month in .NET 8 without any issues. I hope we can merge it as soon as possible.

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.

3 participants