From 79d84d28b6ca6f9df81731f2ced62c3efedba769 Mon Sep 17 00:00:00 2001 From: zirain Date: Tue, 31 Oct 2023 23:45:04 +0800 Subject: [PATCH] address comment Signed-off-by: zirain --- internal/ir/xds.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/ir/xds.go b/internal/ir/xds.go index 86cc1adb880..d6eb5a0a678 100644 --- a/internal/ir/xds.go +++ b/internal/ir/xds.go @@ -171,8 +171,8 @@ type HTTPListener struct { TLS []*TLSListenerConfig `json:"tls,omitempty" yaml:"tls,omitempty"` // Routes associated with HTTP traffic to the service. Routes []*HTTPRoute `json:"routes,omitempty" yaml:"routes,omitempty"` - // IsHTTP2 is set if the upstream client as well as the downstream server are configured to serve HTTP2 traffic. - // TODO: review the usage about this field + // IsHTTP2 is set if the listener is configured to serve HTTP2 traffic, + // grpc-web and grpc-stats are also enabled if this is set. IsHTTP2 bool `json:"isHTTP2" yaml:"isHTTP2"` // TCPKeepalive configuration for the listener TCPKeepalive *TCPKeepalive `json:"tcpKeepalive,omitempty" yaml:"tcpKeepalive,omitempty"`