[Foundation] Don't use ServicePointManager to get minimum TLS protocol.#22517
[Foundation] Don't use ServicePointManager to get minimum TLS protocol.#22517rolfbjarne merged 2 commits intomainfrom
Conversation
Starting in .NET 10, don't use ServicePointManager to get minimum TLS protocol. Fixes #20764. References: * https://aka.ms/dotnet-warnings/SYSLIB0014 * dotnet/runtime#62770
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ [PR Build #f9056fe] Build passed (Detect API changes) ✅Pipeline on Agent |
✅ [CI Build #f9056fe] Build passed (Build packages) ✅Pipeline on Agent |
✅ [CI Build #f9056fe] Build passed (Build macOS tests) ✅Pipeline on Agent |
💻 [CI Build #f9056fe] Tests on macOS X64 - Mac Sonoma (14) passed 💻✅ All tests on macOS X64 - Mac Sonoma (14) passed. Pipeline on Agent |
✅ API diff for current PR / commit.NET ( No breaking changes )❗ API diff vs stable (Breaking changes).NET ( ❗ Breaking changes ❗ )✅ Generator diffGenerator diff is empty Pipeline on Agent |
💻 [CI Build #f9056fe] Tests on macOS M1 - Mac Monterey (12) passed 💻✅ All tests on macOS M1 - Mac Monterey (12) passed. Pipeline on Agent |
💻 [CI Build #f9056fe] Tests on macOS M1 - Mac Ventura (13) passed 💻✅ All tests on macOS M1 - Mac Ventura (13) passed. Pipeline on Agent |
💻 [CI Build #f9056fe] Tests on macOS arm64 - Mac Sequoia (15) passed 💻✅ All tests on macOS arm64 - Mac Sequoia (15) passed. Pipeline on Agent |
🚀 [CI Build #f9056fe] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 115 tests passed 🎉 Tests counts✅ cecil: All 1 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
Starting in .NET 10, don't use ServicePointManager to get minimum TLS protocol.
Fixes #20764.
References:
Added to .NET 10 release notes: https://github.com/dotnet/macios/wiki/.NET-10-release-notes#nsurlsessionhandler-no-longer-sets-the-tls-minimum-supported-protocol-version-for-the-session