-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
udp proxy: complete MVP #9046
udp proxy: complete MVP #9046
Conversation
Note: This is stacked on top of #8999. I wanted to get this out before I take off for conference week in case anyone wants to kick the tires. cc @danzh2010 |
Quick note here for anyone trying this out that I forgot to mention. Until we merge the SO_REUSEPORT change for UDP listeners, this will only work with concurrency == 1. |
Fixes #492 Signed-off-by: Matt Klein <[email protected]>
8524995
to
29b8d84
Compare
Signed-off-by: Matt Klein <[email protected]>
Signed-off-by: Matt Klein <[email protected]>
@danzh2010 @moderation ready for proper review. Thank you! |
Signed-off-by: Matt Klein <[email protected]>
Signed-off-by: Matt Klein <[email protected]>
Note that I just pushed a fix for the test flake reported in #9018 to this PR. It's low frequency enough that I think we can land here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! It looks good to me overall, other than some personal opinions regarding session creation and tearing down.
@@ -569,7 +569,8 @@ class FakeUpstream : Logger::Loggable<Logger::Id::testing>, | |||
std::chrono::milliseconds timeout = TestUtility::DefaultTimeout); | |||
|
|||
// Send a UDP datagram on the fake upstream thread. | |||
void sendUdpDatagram(const std::string& buffer, const Network::Address::Instance& peer); | |||
void sendUdpDatagram(const std::string& buffer, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why making this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the fix for #9018
Signed-off-by: Matt Klein <[email protected]>
Signed-off-by: Matt Klein <[email protected]>
Signed-off-by: Matt Klein <[email protected]>
@danzh2010 updated PTAL |
/azp run envoy-linux |
Azure Pipelines successfully started running 1 pipeline(s). |
Fixes #492
Fixes #9018
Risk Level: Low, new feature
Testing: Integration/unit
Docs Changes: Added
Release Notes: Added