quic: add downstream config knob to enable/disable early data (#20242)

add envoy.extensions.transport_sockets.quic.v3.QuicDownstreamTransport.enable_early_data to turn on/off early data support in EnvoyQuicServerSession.

Risk Level: low, behavior change to h3 downstream handshake is behind the new config knob.
Testing: added new integration tests
Docs Changes: N/A
Release Notes: noted about the new config knob transport_sockets.quic.v3.QuicDownstreamTransport.enable_early_data
Fixes #19943

Mirrored from https://github.com/envoyproxy/envoy @ 7be30191816ef3cbdc2ca013560d9de6a3a2d5fb
pull/626/head
data-plane-api(Azure Pipelines) 3 years ago
parent 03bb74eb26
commit 4500e6c4cd
  1. 6
      envoy/extensions/transport_sockets/quic/v3/quic_transport.proto

@ -4,6 +4,8 @@ package envoy.extensions.transport_sockets.quic.v3;
import "envoy/extensions/transport_sockets/tls/v3/tls.proto";
import "google/protobuf/wrappers.proto";
import "udpa/annotations/status.proto";
import "validate/validate.proto";
@ -20,6 +22,10 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
message QuicDownstreamTransport {
tls.v3.DownstreamTlsContext downstream_tls_context = 1
[(validate.rules).message = {required: true}];
// If false, QUIC will tell TLS to reject any early data and to stop issuing 0-RTT credentials with resumption session tickets. This will prevent clients from sending 0-RTT requests.
// Default to true.
google.protobuf.BoolValue enable_early_data = 2;
}
// Configuration for Upstream QUIC transport socket. This provides Google's implementation of Google QUIC and IETF QUIC to Envoy.

Loading…
Cancel
Save