Skip to content

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

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

quiche: early fail listener config with both quic and connection_balencer#17834
ggreenway merged 2 commits intoenvoyproxy:mainfrom
danzh2010:connectionbalencer

Conversation

@danzh2010
Copy link
Contributor

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

Signed-off-by: Dan Zhang <danzh@google.com>
@danzh2010
Copy link
Contributor Author

/assign @ggreenway

Copy link
Member

@ggreenway ggreenway left a 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

#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
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
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 <danzh@google.com>
@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 <mpuncel@squareup.com>
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