Skip to content

feat: proxy protocol in ClientTrafficPolicy#2203

Merged
zirain merged 3 commits intoenvoyproxy:mainfrom
arkodg:downstream-proxy-protocol
Nov 21, 2023
Merged

feat: proxy protocol in ClientTrafficPolicy#2203
zirain merged 3 commits intoenvoyproxy:mainfrom
arkodg:downstream-proxy-protocol

Conversation

@arkodg
Copy link
Copy Markdown
Contributor

@arkodg arkodg commented Nov 17, 2023

relates to #1328

@arkodg arkodg requested a review from a team as a code owner November 17, 2023 23:34
@arkodg arkodg requested review from a team, Alice-Lilith, qicz and shawnh2 and removed request for a team November 17, 2023 23:36
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 17, 2023

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (ff522af) 64.35% compared to head (c03900c) 64.40%.

Files Patch % Lines
internal/xds/translator/proxy_protocol.go 74.07% 5 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2203      +/-   ##
==========================================
+ Coverage   64.35%   64.40%   +0.04%     
==========================================
  Files         109      110       +1     
  Lines       15302    15343      +41     
==========================================
+ Hits         9848     9882      +34     
- Misses       4845     4850       +5     
- Partials      609      611       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@arkodg arkodg marked this pull request as draft November 17, 2023 23:42
@arkodg arkodg force-pushed the downstream-proxy-protocol branch 2 times, most recently from 0b4aac6 to 49427c8 Compare November 17, 2023 23:56
@arkodg arkodg marked this pull request as ready for review November 18, 2023 00:03
Copy link
Copy Markdown
Contributor

@shawnh2 shawnh2 left a comment

Choose a reason for hiding this comment

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

lgtm

@zirain
Copy link
Copy Markdown
Member

zirain commented Nov 18, 2023

lgtm, is it possible to add e2e tests for this?

Copy link
Copy Markdown
Member

@zhaohuabing zhaohuabing left a comment

Choose a reason for hiding this comment

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

LGTM. Just a few small nits in comments.

@arkodg
Copy link
Copy Markdown
Contributor Author

arkodg commented Nov 20, 2023

lgtm, is it possible to add e2e tests for this?

@zirain should be possible, can do in a follow up PR using https://github.com/pires/go-proxyproto

Arko Dasgupta added 2 commits November 20, 2023 13:38
relates to envoyproxy#1328

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
@arkodg arkodg force-pushed the downstream-proxy-protocol branch from 22999d0 to 143768c Compare November 20, 2023 21:54
@zirain
Copy link
Copy Markdown
Member

zirain commented Nov 20, 2023

/retest

@arkodg arkodg requested a review from zirain November 21, 2023 00:16
@zirain
Copy link
Copy Markdown
Member

zirain commented Nov 21, 2023

I think this will confict with #2210

@zirain zirain merged commit ae523a8 into envoyproxy:main Nov 21, 2023
@arkodg arkodg deleted the downstream-proxy-protocol branch December 16, 2023 02:22
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.

4 participants