
Description
Dotnet documentation for ServicePointManager.ReusePort is misleading. It currently indicates
Setting this property value to true causes all outbound TCP connections from HttpWebRequest to use the native socket option SO_REUSE_UNICASTPORT on the socket
However, as @wfurt has indicated on another thread,
HttpClient does not use ServicePointManager @aaronla-ms. The whole strategy changes and .NET Core does not depend or use single global setting and ServicePointManager is obsolete.
This documentation should be updated to indicate accurate information for various framework versions. E.g. indicate in netcore / net5.0+ that the API no longer functions as described, and is obsolete (though not attributed as such). For NET Standard, should indicate that the API only functions as intended on .NET Framework, and is nonfunctional on .NET Core / net5.0+
Target framework
- .NET Core
- .NET Framework
- .NET Standard
The documentation is accurate for .NET Framework. The behavior change was an intentional one made during dotnet core development, so documentation update is only needed for .NET Standard and .NET Core.
dotnet --info output or About VS info
<replace>