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

feat: set tcp proxy listener buffer #1306

Merged
merged 1 commit into from
Apr 18, 2023
Merged

Conversation

Xunzhuo
Copy link
Member

@Xunzhuo Xunzhuo commented Apr 14, 2023

Part of: #1048

@Xunzhuo Xunzhuo requested a review from a team as a code owner April 14, 2023 03:16
@codecov
Copy link

codecov bot commented Apr 14, 2023

Codecov Report

Merging #1306 (632bf13) into main (6baaaf1) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1306      +/-   ##
==========================================
- Coverage   61.88%   61.83%   -0.06%     
==========================================
  Files          85       85              
  Lines       10852    10853       +1     
==========================================
- Hits         6716     6711       -5     
- Misses       3692     3697       +5     
- Partials      444      445       +1     
Impacted Files Coverage Δ
internal/xds/translator/listener.go 81.57% <100.00%> (+0.05%) ⬆️

... and 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -39,6 +40,7 @@ func buildXdsTCPListener(name, address string, port uint32) *listenerv3.Listener
Filter: listenerAccessLogFilter,
},
},
PerConnectionBufferLimitBytes: wrapperspb.UInt32(32768),
Copy link
Contributor

Choose a reason for hiding this comment

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

should EG support to custom this?

Copy link
Contributor

Choose a reason for hiding this comment

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

lets raise a issue for this ? #24 is always a back up option

Copy link
Member Author

Choose a reason for hiding this comment

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

If so, we need to add new apis in envoyproxy too, let us keep it in this way, unless someone requests for it.

@@ -39,6 +40,7 @@ func buildXdsTCPListener(name, address string, port uint32) *listenerv3.Listener
Filter: listenerAccessLogFilter,
},
},
PerConnectionBufferLimitBytes: wrapperspb.UInt32(32768),
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

Signed-off-by: bitliu <bitliu@tencent.com>
Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

🚀

@zirain zirain merged commit ef98e16 into envoyproxy:main Apr 18, 2023
15 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.

None yet

3 participants