From 2456249b613d8feec6040169ba20292ac0322088 Mon Sep 17 00:00:00 2001 From: "data-plane-api(Azure Pipelines)" Date: Tue, 11 Apr 2023 00:56:47 +0000 Subject: [PATCH] http2: adds a protocol option for which HTTP/2 codec to use. (#26524) Commit Message: Adds a protocol option for which HTTP/2 codec to use. Additional Description: Risk Level: low Testing: ran unit tests and integration tests locally Docs Changes: n/a Release Notes: n/a Platform Specific Features: Signed-off-by: Biren Roy Mirrored from https://github.com/envoyproxy/envoy @ 73115db835f27a79a79a44b8ee8f7ac4333891c7 --- envoy/config/core/v3/protocol.proto | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/envoy/config/core/v3/protocol.proto b/envoy/config/core/v3/protocol.proto index f632d957..620a2ef5 100644 --- a/envoy/config/core/v3/protocol.proto +++ b/envoy/config/core/v3/protocol.proto @@ -390,7 +390,7 @@ message KeepaliveSettings { [(validate.rules).duration = {gte {nanos: 1000000}}]; } -// [#next-free-field: 16] +// [#next-free-field: 17] message Http2ProtocolOptions { option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.core.Http2ProtocolOptions"; @@ -568,6 +568,12 @@ message Http2ProtocolOptions { // Send HTTP/2 PING frames to verify that the connection is still healthy. If the remote peer // does not respond within the configured timeout, the connection will be aborted. KeepaliveSettings connection_keepalive = 15; + + // [#not-implemented-hide:] Hiding so that the field can be removed after oghttp2 is rolled out. + // If set, force use of a particular HTTP/2 codec: oghttp2 if true, nghttp2 if false. + // If unset, HTTP/2 codec is selected based on envoy.reloadable_features.http2_use_oghttp2. + google.protobuf.BoolValue use_oghttp2_codec = 16 + [(xds.annotations.v3.field_status).work_in_progress = true]; } // [#not-implemented-hide:]