Skip to content

quiche: early fail listener config with both quic and connection_balencer - #17834

Merged
ggreenway merged 2 commits into
envoyproxy:mainfrom
danzh2010:connectionbalencer
Aug 25, 2021
Merged

ggreenway merged 2 commits into
envoyproxy:mainfrom
danzh2010:connectionbalencer

Conversation

@danzh2010

Copy link
Copy Markdown
Contributor

Signed-off-by: Dan Zhang [email protected]

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

@danzh2010

Copy link
Copy Markdown
Contributor Author

/assign @ggreenway

@ggreenway ggreenway left a comment

Copy link
Copy Markdown
Member

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

Comment thread source/server/listener_impl.cc Outdated
#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.");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

spelling: balancer

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

Signed-off-by: Dan Zhang <[email protected]>
@ggreenway
ggreenway merged commit 82f1e4a into envoyproxy:main Aug 25, 2021
mpuncel added a commit to mpuncel/envoy that referenced this pull request Aug 25, 2021
* 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 <[email protected]>
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.

quic: disallow ConnectionBalancer config

3 participants