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

Revert async nameresolution on Unix #48666

Merged
merged 4 commits into from
Mar 4, 2021

Conversation

gfoidl
Copy link
Member

@gfoidl gfoidl commented Feb 23, 2021

As per discussion in #48566 (comment)

In short: getaddrinfo_a is a sub-optimal api, that doesn't perform real async name resolution. Other ways will be explored.

This PR undos #34633 and #47171

@ghost
Copy link

ghost commented Feb 23, 2021

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

As per discussion in #48566

In short: getaddrinfo_a is a sub-optimal api, that doesn't perform real async name resolution. Other ways will be explored.

This PR undos #34633 and #47171

Author: gfoidl
Assignees: -
Labels:

area-System.Net

Milestone: -

SupportsGetAddrInfoAsync is a constant on *nix. Tests check if it's supported and return if not, so unreachable code was created on *nix.
Base automatically changed from master to main March 1, 2021 09:08
@jkotas
Copy link
Member

jkotas commented Mar 3, 2021

@dotnet/ncl Good to merge?

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @gfoidl.

@stephentoub stephentoub merged commit d3987b6 into dotnet:main Mar 4, 2021
jkotas pushed a commit to dotnet/runtimelab that referenced this pull request Mar 4, 2021
dotnet/runtime#48666 reverts the change that added this dependency.
@gfoidl gfoidl deleted the revert-unix-async-nameresolution branch March 4, 2021 08:25
@ghost ghost locked as resolved and limited conversation to collaborators Apr 3, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants