quic: adding upstream config (#15537)

Alas I didn't end up moving all of the protocol options over, as the cluster has its own timeout params so most of the QuicProtocolOptions are listener-specific.

Commit Message: adding quic protocol config to quic upstream
Risk Level: n/a (quic only)
Testing: unit tests
Docs Changes: n/a
Release Notes: n/a
part of #14829

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>

Mirrored from https://github.com/envoyproxy/envoy @ 255f78b3cc66d9ed3aa86cb491d98759314294b9
pull/624/head
data-plane-api(Azure Pipelines) 4 years ago
parent a734cda3a9
commit 9fb2257edb
  1. 8
      envoy/config/core/v3/protocol.proto
  2. 12
      envoy/config/core/v4alpha/protocol.proto
  3. 5
      envoy/config/listener/v3/quic_config.proto
  4. 5
      envoy/config/listener/v4alpha/quic_config.proto

@ -24,6 +24,13 @@ message TcpProtocolOptions {
"envoy.api.v2.core.TcpProtocolOptions";
}
// QUIC protocol options which apply to both downstream and upstream connections.
message QuicProtocolOptions {
// Maximum number of streams that the client can negotiate per connection. 100
// if not specified.
google.protobuf.UInt32Value max_concurrent_streams = 1;
}
message UpstreamHttpProtocolOptions {
option (udpa.annotations.versioning).previous_message_type =
"envoy.api.v2.core.UpstreamHttpProtocolOptions";
@ -406,4 +413,5 @@ message GrpcProtocolOptions {
//
// Eventually this will include configuration for tuning HTTP/3.
message Http3ProtocolOptions {
QuicProtocolOptions quic_protocol_options = 1;
}

@ -24,6 +24,16 @@ message TcpProtocolOptions {
"envoy.config.core.v3.TcpProtocolOptions";
}
// QUIC protocol options which apply to both downstream and upstream connections.
message QuicProtocolOptions {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.core.v3.QuicProtocolOptions";
// Maximum number of streams that the client can negotiate per connection. 100
// if not specified.
google.protobuf.UInt32Value max_concurrent_streams = 1;
}
message UpstreamHttpProtocolOptions {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.core.v3.UpstreamHttpProtocolOptions";
@ -401,4 +411,6 @@ message GrpcProtocolOptions {
message Http3ProtocolOptions {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.core.v3.Http3ProtocolOptions";
QuicProtocolOptions quic_protocol_options = 1;
}

@ -3,6 +3,7 @@ syntax = "proto3";
package envoy.config.listener.v3;
import "envoy/config/core/v3/base.proto";
import "envoy/config/core/v3/protocol.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/wrappers.proto";
@ -24,9 +25,7 @@ message QuicProtocolOptions {
option (udpa.annotations.versioning).previous_message_type =
"envoy.api.v2.listener.QuicProtocolOptions";
// Maximum number of streams that the client can negotiate per connection. 100
// if not specified.
google.protobuf.UInt32Value max_concurrent_streams = 1;
core.v3.QuicProtocolOptions quic_protocol_options = 1;
// Maximum number of milliseconds that connection will be alive when there is
// no network activity. 300000ms if not specified.

@ -3,6 +3,7 @@ syntax = "proto3";
package envoy.config.listener.v4alpha;
import "envoy/config/core/v4alpha/base.proto";
import "envoy/config/core/v4alpha/protocol.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/wrappers.proto";
@ -24,9 +25,7 @@ message QuicProtocolOptions {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.listener.v3.QuicProtocolOptions";
// Maximum number of streams that the client can negotiate per connection. 100
// if not specified.
google.protobuf.UInt32Value max_concurrent_streams = 1;
core.v4alpha.QuicProtocolOptions quic_protocol_options = 1;
// Maximum number of milliseconds that connection will be alive when there is
// no network activity. 300000ms if not specified.

Loading…
Cancel
Save