Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <zirain2009@gmail.com>
  • Loading branch information
zirain committed Oct 31, 2023
1 parent b374b29 commit 79d84d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/ir/xds.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 79d84d2

Please sign in to comment.