Open
Description
Description
Currently if you attempt to disable ipv6 via System.Net.DisableIPv6 and initiate a Http3 connection it will fail because Socket.OSSupportsIPv6 will return false.
Reproduction Steps
Disable ipv6 via System.Net.DisableIPv6
Create a http3 client with
HttpClient Client = new HttpClient()
{
DefaultRequestVersion = HttpVersion.Version30,
DefaultVersionPolicy = HttpVersionPolicy.RequestVersionExact
};
attempt to use the httpclient and it will throw an exception
Expected behavior
Http3 should work regardless of the presence of ipv6
Actual behavior
It does not work
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response