Uh oh!
There was an error while loading. Please reload this page.
Expose a global switch to disable IPV6 - #55012
Conversation
ghost
commented
Jul 1, 2021
Tagging subscribers to this area: @dotnet/ncl Issue DetailsFixes #47583. Resolves #52287, #54807 and similar issues. Introduces an AppContext switch For consistency, this switch also impacts NameResolution and Ping, not only Sockets.
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
Fixes#47583. Resolves#52287, #54807 and similar issues, without changing customer application code.
Introduces an AppContext switch
System.Net.DisableIPv6and environment variableDOTNET_SYSTEM_NET_DISABLEIPV6to emulate the lack of OS-level IPv6 support. This is useful to workaround dual-stack socket issues when the OS reports support of IPv6, but some other underlying infrastructure element (typically VPN) doesn't function well with IPv6 request.For consistency, this switch also impacts NameResolution and Ping, not only Sockets.