Skip to content

Make endpoint special-case localhost and IP addresses - #302

Merged
lawrence-forooghian merged 1 commit into
clarify-nonprod-routing-policyfrom
allow-localhost-and-ip-addresses-using-endpoint-option
Apr 23, 2025
Merged

Make endpoint special-case localhost and IP addresses#302
lawrence-forooghian merged 1 commit into
clarify-nonprod-routing-policyfrom
allow-localhost-and-ip-addresses-using-endpoint-option

Conversation

@lawrence-forooghian

Copy link
Copy Markdown
Contributor

I believe it's quite common (e.g. for Realtime devs) to want to point to a local Realtime. Or, for example in the SDK team, to want to point to a local reverse proxy for interception.

Turns out that it's already special-cased in ably-go, so let's add to spec.

@lawrence-forooghian
lawrence-forooghian marked this pull request as ready for review April 17, 2025 19:18
Comment threadtextile/features.textile Outdated
I believe it's quite common (e.g. for Realtime devs) to want to point to
a local Realtime. Or, for example in the SDK team, to want to point to a
local reverse proxy for interception.
Turns out that it's already special-cased in ably-go [1], so let's add
to spec.
Since ably-go is the only place that the `endpoint` functionality has
been implemented so far, I'm just changing the existing spec point and
will update ably-go to reflect.
[1] https://github.com/ably/ably-go/blob/17f6575773b28a146ac04bfaf3b8de44ce1ff162/ably/options.go#L506-L510
@lawrence-forooghian
lawrence-forooghianforce-pushed the allow-localhost-and-ip-addresses-using-endpoint-option branch from 8db03d7 to f28cad3CompareApril 22, 2025 19:43
lawrence-forooghian added a commit to ably/ably-go that referenced this pull request Apr 22, 2025
Reflects the changes of spec commit f28cad3 from [1], which were
themselves based on the special-case logic implemented in this repo.
[1] ably/specification#302
lawrence-forooghian added a commit to ably/ably-go that referenced this pull request Apr 22, 2025
Reflects the changes of spec commit f28cad3 from [1], which were
themselves based on the special-case logic implemented in this repo.
[1] ably/specification#302
@lawrence-forooghian
lawrence-forooghian merged commit b2c94db into clarify-nonprod-routing-policyApr 23, 2025
@lawrence-forooghian
lawrence-forooghian deleted the allow-localhost-and-ip-addresses-using-endpoint-option branch April 23, 2025 11:20
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@lawrence-forooghian@lmars