-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
quiche: early fail listener config with both quic and connection_balencer #17834
Conversation
Signed-off-by: Dan Zhang <danzh@google.com>
/assign @ggreenway |
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.
Thanks for fixing this! Looks good except for one typo.
/wait
source/server/listener_impl.cc
Outdated
@@ -444,6 +444,10 @@ void ListenerImpl::buildUdpListenerFactory(Network::Socket::Type socket_type, | |||
udp_listener_config_ = std::make_unique<UdpListenerConfigImpl>(config_.udp_listener_config()); | |||
if (config_.udp_listener_config().has_quic_options()) { | |||
#ifdef ENVOY_ENABLE_QUIC | |||
if (config_.has_connection_balance_config()) { | |||
throw EnvoyException("connection_balance_config is configured for QUIC listener which " | |||
"doesn't work with connection balencer."); |
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.
spelling: balancer
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.
fixed
* main: config: fix dfp config validation (envoyproxy#17835) docs: updating where meetings are uploaded (envoyproxy#17832) h2: moving a comment (envoyproxy#17846) quiche: early fail listener config with both quic and connection_balencer (envoyproxy#17834) dns: configuring a basic key value store to persist to disk (envoyproxy#17745) quic: fix receiving STOP_SENDING (envoyproxy#17815) tooling: Add Github release manager (envoyproxy#17741) tooling: Use upstream pytest-patches (envoyproxy#17809) Remove `hidden_envoy_deprecated_use_http2` (envoyproxy#17805) kafka: produce request for mesh-filter (envoyproxy#17818) Signed-off-by: Michael Puncel <mpuncel@squareup.com>
Signed-off-by: Dan Zhang danzh@google.com
QUIC listener use BPF kernel routine for each packet to guarantee stable connection. connection_balencer in Listener config undermines this purpose. So it shouldn't be used with QUIC listener.
Risk Level: low
Testing: added unit test
Fixes #13116