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

Update Native.DetectWindowsVersion() to consider Windows Server 2019 to be Window Server #2468

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

wrall
Copy link
Contributor

@wrall wrall commented Jun 26, 2024

Changing the IsWindowsServer check to be "!= VER_NT_WORKSTATION" instead of "== VER_NT_SERVER" because VER_NT_DOMAIN_CONTROLLER (2) is not correctly being considered as Windows Server.

Fixes #2467

…to be WindowsServer whenever it is not a Workstation (so, even when the server is configured to be a Domain Controller with PlatformType == 2)
Copy link

linux-foundation-easycla bot commented Jun 26, 2024

CLA Signed


The committers listed above are authorized under a signed CLA.

@JamesNK
Copy link
Member

JamesNK commented Jun 26, 2024

Looks good to me. Can merge once CLA is signed.

@JamesNK JamesNK merged commit 4623318 into grpc:master Jun 26, 2024
3 checks passed
JamesNK pushed a commit to JamesNK/grpc-dotnet that referenced this pull request Jun 28, 2024
stanley-cheung pushed a commit that referenced this pull request Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot use GrpcClient with WinHttpHandler on Windows Server 2019 Domain Controllers
2 participants