Skip to content

Conversation

@JamesNK
Copy link
Member

@JamesNK JamesNK commented Nov 14, 2021

Fixes #1482

Replaces #1489

  • Preserve the original address
  • Move parsing to the DnsResolver constructor rather than per-resolve.
  • Add default port to resolver args

@vasicvuk

@vasicvuk
Copy link
Contributor

Changes looks good to me 👍

@JamesNK JamesNK requested a review from captainsafia November 14, 2021 21:33
@JamesNK JamesNK force-pushed the vasicvuk-master branch 2 times, most recently from c085d0e to e50eeee Compare November 14, 2021 22:28
{
throw new ArgumentException($"Address '{address.OriginalString}' doesn't have a host. Address should include a scheme, host, and optional port. For example, 'https://localhost:5001'.");
}
ResolveCredentials(channelOptions, out _isSecure, out _callCredentials);
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice refactor!

@JamesNK JamesNK merged commit dce1ef7 into grpc:master Nov 16, 2021
@JamesNK JamesNK deleted the vasicvuk-master branch November 16, 2021 17:13
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.

Can't get DNS load balancer to work

3 participants