Skip to content

rename OpaqueTransport to TaggedTransport#2212

Closed
hawkw wants to merge 7 commits intoeliza/9888from
eliza/tagged-transport
Closed

rename OpaqueTransport to TaggedTransport#2212
hawkw wants to merge 7 commits intoeliza/9888from
eliza/tagged-transport

Conversation

@hawkw
Copy link
Contributor

@hawkw hawkw commented Feb 7, 2023

Depends on #2209

The "opaque transport" feature is somewhat confusingly named. This
feature refers to a system where the outbound proxy makes a direct
connection to the inbound proxy's inbound port, and sends a
TransportHeader containing the actual target port, along with an
optional authority and protocol hint. This feature can be used to
transport actually opaque protocols, but it is also used by
multicluster gateways to transport HTTP traffic non-opaquely. Therefore,
the name "opaque transport" is somewhat confusing here.

This branch renames the "opaque transport" middleware to "tagged
transport", which is (hopefully) somewhat clearer, as it no longer
suggests that this form of tagging inherently means that no
protocol-aware behavior is performed.

@hawkw hawkw requested a review from a team as a code owner February 7, 2023 22:34
olix0r added a commit that referenced this pull request Feb 13, 2023
From #2212
Co-authored-by: Eliza Weisman <eliza@buoyant.io>
olix0r added a commit that referenced this pull request Feb 13, 2023
We differentiate "opaque" and "tcp" stacks because some TCP stacks may
also apply for HTTP traffic. We shorten this in code as "opaq" because
it's unambiguous and the same length as "http"

* Add an `outbound::opaq` module for opaque stacks. ("opaq").
* Rename `push_tcp_{logical,concrete,forward}` to `push_opaq_*`
* Rename `OpaqueTransport` to `TaggedTransport` (Closes #2212).
@olix0r
Copy link
Member

olix0r commented Feb 13, 2023

This PR is stale, but this change is included in #2224

@olix0r olix0r closed this Feb 13, 2023
olix0r added a commit that referenced this pull request Feb 13, 2023
We differentiate "opaque" and "tcp" stacks because some TCP stacks may
also apply for HTTP traffic. We shorten this in code as "opaq" because
it's unambiguous and the same length as "http"

* Add an `outbound::opaq` module for opaque stacks. ("opaq").
* Rename `push_tcp_{logical,concrete,forward}` to `push_opaq_*`
* Rename `OpaqueTransport` to `TaggedTransport` (Closes #2212).
@olix0r olix0r deleted the eliza/tagged-transport branch March 7, 2023 22:03
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