Skip to content

Commit

Permalink
quic: Remove envoy.reloadable_features.reject_require_client_certific…
Browse files Browse the repository at this point in the history
…ate_with_quic (envoyproxy#29119)

Signed-off-by: Ryan Hamilton <[email protected]>
  • Loading branch information
RyanTheOptimist authored Aug 25, 2023
1 parent 8c3f3bf commit 40e1eda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions changelogs/current.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ removed_config_or_runtime:
change: |
Removed ``envoy.restart_features.use_apple_api_for_dns_lookups`` and legacy code paths.
- area: quic
change: |
Removed ``envoy.reloadable_features.reject_require_client_certificate_with_quic`` and legacy code paths.
new_features:
- area: access_log
change: |
Expand Down
4 changes: 1 addition & 3 deletions source/common/quic/quic_transport_socket_factory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ QuicServerTransportSocketConfigFactory::createTransportSocketFactory(
auto server_config = std::make_unique<Extensions::TransportSockets::Tls::ServerContextConfigImpl>(
quic_transport.downstream_tls_context(), context);
// TODO(RyanTheOptimist): support TLS client authentication.
if (server_config->requireClientCertificate() &&
Runtime::runtimeFeatureEnabled(
"envoy.reloadable_features.reject_require_client_certificate_with_quic")) {
if (server_config->requireClientCertificate()) {
throw EnvoyException("TLS Client Authentication is not supported over QUIC");
}

Expand Down
1 change: 0 additions & 1 deletion source/common/runtime/runtime_features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ RUNTIME_GUARD(envoy_reloadable_features_original_dst_rely_on_idle_timeout);
RUNTIME_GUARD(envoy_reloadable_features_overload_manager_error_unknown_action);
RUNTIME_GUARD(envoy_reloadable_features_prohibit_route_refresh_after_response_headers_sent);
RUNTIME_GUARD(envoy_reloadable_features_quic_defer_logging_to_ack_listener);
RUNTIME_GUARD(envoy_reloadable_features_reject_require_client_certificate_with_quic);
RUNTIME_GUARD(envoy_reloadable_features_sanitize_original_path);
RUNTIME_GUARD(envoy_reloadable_features_send_header_raw_value);
RUNTIME_GUARD(envoy_reloadable_features_service_sanitize_non_utf8_strings);
Expand Down

0 comments on commit 40e1eda

Please sign in to comment.