Skip to content

Commit

Permalink
Do not enforce http2 on patched clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
ffilippopoulos committed Jan 15, 2025
1 parent 2fd2bd0 commit 952c596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xds/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ func cluster(clusterName string, policy clusterv3.Cluster_LbPolicy) *clusterv3.C
// to use Delta streams. It is meant to be used only for envoy clients where we
// configure an xds server as "xds_cluster" via injected config.
func patchClusterDeltaEDS(cluster *clusterv3.Cluster) *clusterv3.Cluster {
cluster.Http2ProtocolOptions = &corev3.Http2ProtocolOptions{}
//cluster.Http2ProtocolOptions = &corev3.Http2ProtocolOptions{}
cluster.EdsClusterConfig = &clusterv3.Cluster_EdsClusterConfig{
EdsConfig: &corev3.ConfigSource{
ConfigSourceSpecifier: &corev3.ConfigSource_ApiConfigSource{
Expand Down

0 comments on commit 952c596

Please sign in to comment.