Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dns.GetHostEntryAsync(IPAddress.None) succeeds on macOS #17935

Closed
stephentoub opened this issue Jul 26, 2016 · 3 comments · Fixed by dotnet/corefx#10392
Closed

Dns.GetHostEntryAsync(IPAddress.None) succeeds on macOS #17935

stephentoub opened this issue Jul 26, 2016 · 3 comments · Fixed by dotnet/corefx#10392
Labels
area-System.Net bug disabled-test The test is disabled in source code against the issue os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX
Milestone

Comments

@stephentoub
Copy link
Member

await Dns.GetHostEntryAsync(IPAddress.None) throws a SocketException on Windows, but doesn't on Unix. I don't know if the right answer here is that the failing test should be made platform-specific for Windows (i.e. this is expected behavior on Unix) or whether there's a bug in the Unix implementation we need to fix so that this case also fails.

@KristinXie1
Copy link

Disabled test, reopen it.

@KristinXie1 KristinXie1 reopened this Feb 24, 2017
@stephentoub stephentoub changed the title Dns.GetHostEntryAsync(IPAddress.None) fails on Windows, succeeds on Unix Dns.GetHostEntryAsync(IPAddress.None) succeeds on macOS Mar 8, 2017
@stephentoub
Copy link
Member Author

Updated: fails correctly on Windows and Linux, but doesn't on macOS. Looks like it's simply an OS behavior.

@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 2.0.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net bug disabled-test The test is disabled in source code against the issue os-linux Linux OS (any supported distro) os-mac-os-x macOS aka OSX
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants