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

Support Async DNS lookup on older Windows from impersonificated context #47435

Merged
merged 9 commits into from
Jan 27, 2021

Conversation

wfurt
Copy link
Member

@wfurt wfurt commented Jan 25, 2021

This is follow-up on #45816. It seems like older windows (Win8 and Server 2012) fail with different error. As @stephentoub pointed me the right direction, this change also adds tests missing in original change.

contributes to #29935
fixes #45165

@wfurt wfurt requested review from stephentoub and a team January 25, 2021 22:11
@wfurt wfurt self-assigned this Jan 25, 2021
@ghost
Copy link

ghost commented Jan 25, 2021

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

Issue Details

This is follow-up on #45816. It seems like older windows (Win8 and Server 2012) fail with different error. As @stephentoub pointed me the right direction, this change also adds tests missing in original change.

contributes to #29935
fixes #45165

Author: wfurt
Assignees: wfurt
Labels:

area-System.Net

Milestone: -

@wfurt
Copy link
Member Author

wfurt commented Jan 26, 2021

LINQ/float test failures are #47374

@wfurt
Copy link
Member Author

wfurt commented Jan 26, 2021

/azp run runtime-libraries-coreclr outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@wfurt wfurt merged commit 223cb5a into dotnet:master Jan 27, 2021
@wfurt wfurt deleted the win_test branch January 27, 2021 04:58
@karelz karelz added this to the 6.0.0 milestone Jan 28, 2021
@wfurt
Copy link
Member Author

wfurt commented Jan 28, 2021

/backport to release/5.0

@github-actions
Copy link
Contributor

Started backporting to release/5.0: https://github.com/dotnet/runtime/actions/runs/519074680

@github-actions
Copy link
Contributor

@wfurt backporting to release/5.0 failed, the patch most likely resulted in conflicts:

$ git am --3way --ignore-whitespace --keep-non-patch changes.patch

Applying: test WindowsIdentityImpersonatedTests runs
error: sha1 information is lacking or useless (src/libraries/System.Net.NameResolution/src/System/Net/NameResolutionPal.Windows.cs).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 test WindowsIdentityImpersonatedTests runs
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

wfurt added a commit to wfurt/runtime that referenced this pull request Jan 29, 2021
…xt (dotnet#47435)

* test WindowsIdentityImpersonatedTests runs

* fix win8

* add test variant

* final cleanup
Anipik pushed a commit that referenced this pull request Feb 11, 2021
…ificated conte… (#47657)

* Support Async DNS lookup on older Windows from impersonificated context (#47435)

* test WindowsIdentityImpersonatedTests runs

* fix win8

* add test variant

* final cleanup

* add definition missing in 5.0 branch
@ghost ghost locked as resolved and limited conversation to collaborators Feb 27, 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.

ASP.NET 5 -- Impersonation -- A call to WSALookupServiceEnd was made while this call was still processing
3 participants