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

Return support for an scheme omitted IP address in RPC_HOST #199

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

ardecvz
Copy link
Contributor

@ardecvz ardecvz commented Nov 29, 2023

What is the purpose of this pull request?

Return support for an scheme omitted IP address in RPC_HOST

For example, 127.0.0.1:50051/anycable.

It's missing from 1.4.6 which introduced auto RPC implementation
inferring from the RPC host.

What changes did you make? (overview)

Default to grpc:// scheme if omitted + test all known RPC_HOST variants + include invalid RPC_HOST to logs for better debugging:
!!! RPC failed !!!, cause: unknown RPC implementation: <invalid RPC host: invalid://:+>

Is there anything you'd like reviewers to focus on?

Checklist

  • I've added tests for this change
  • I've added a Changelog entry
  • I've updated documentation

For example, `127.0.0.1:50051/anycable`.

It's missing from 1.4.6 which introduced auto RPC implementation
inferring from the RPC host.
@ardecvz ardecvz force-pushed the feature/support-rpc-host-with-port branch from c87d246 to cbaef0f Compare November 29, 2023 13:05
@palkan
Copy link
Member

palkan commented Nov 29, 2023

Thanks!

@palkan palkan merged commit 999a80c into anycable:master Nov 29, 2023
20 checks passed
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.

2 participants