network: TCP proxying over HTTP POST#14552
Conversation
|
This PR is WIP. Would appreciate feedback about API and naming conversion first. |
|
/retest |
|
Retrying Azure Pipelines: |
api/envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto
Outdated
Show resolved
Hide resolved
alyssawilk
left a comment
There was a problem hiding this comment.
Nice start! Tossing in some other comments while I'm looking. :-)
mattklein123
left a comment
There was a problem hiding this comment.
Thanks a few high level comments to get started!
/wait
api/envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto
Outdated
Show resolved
Hide resolved
api/envoy/extensions/filters/network/tcp_proxy/v3/tcp_proxy.proto
Outdated
Show resolved
Hide resolved
|
This PR is ready for a second round of review. |
|
From an API perspective this LGTM at a high level. Can you merge main branch and we can take another look? /wait |
|
Rebased. |
alyssawilk
left a comment
There was a problem hiding this comment.
Yeah, I think the structure of this is much cleaner without the filter. Thanks for that clean up!
Here's a few more thoughts, and we can go from there :-)
|
Updated the PR to support HTTP/1.1 POST as suggested. |
|
Cool! want to check out CI, and add the integration tests we talked about, and I'll take another look? |
Signed-off-by: Wenlei (Frank) He <wlhe@google.com>
Signed-off-by: Wenlei (Frank) He <wlhe@google.com>
Signed-off-by: Wenlei (Frank) He <wlhe@google.com>
Signed-off-by: Wenlei (Frank) He <wlhe@google.com>
Signed-off-by: Wenlei (Frank) He <wlhe@google.com>
Signed-off-by: Wenlei (Frank) He <wlhe@google.com>
Signed-off-by: Wenlei (Frank) He <wlhe@google.com>
Signed-off-by: Wenlei (Frank) He <wlhe@google.com>
Signed-off-by: Wenlei (Frank) He <wlhe@google.com>
|
/retest |
|
Retrying Azure Pipelines: |
|
/retest |
|
Retrying Azure Pipelines: |
|
CI seems very unstable recently. I just resolved the conflict of the version history, then multiple checks are failing :( |
|
/retest |
|
Retrying Azure Pipelines: |
|
CI is green now. |
alyssawilk
left a comment
There was a problem hiding this comment.
@lizan can you re-stamp API and merge?
|
@wlhee any example codes(like C/go/rust) for setting up the connecttions to remote envoy POST terminater? |
|
It's really awesome, how can I use this feature in istio? |
Commit Message: Add support proxying TCP over HTTP/2 or HTTP/1.1 POST to tcp_proxy. It's controlled by tcp_proxy filter configuration. Also add support adding additional headers to the proxy requests to coordinate with the upstream. In addition, add allo_post config to router, which allow triggering the regular TCP decaping from a POST request payload.
Additional Description: N/A
Risk Level: Low
Testing: Unit tests. Integration tests.
Docs Changes: Added
Release Notes: Added
Platform Specific Features: N/A
Fixes #14234
cc @alyssawilk @mattklein123