Skip to content

Commit d6aee70

Browse files
committed
Add a missing field for HttpProtocolOptions
1 parent 444d219 commit d6aee70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adapter/internal/oasparser/envoyconf/routes_with_clusters.go

+3
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,9 @@ func processEndpoints(clusterName string, clusterDetails *model.EndpointCluster,
623623
// This ensure cilium proxy will not reuse the connection
624624
if withinClusterEndpoint && os.Getenv("ROUTER_DISABLE_IN_CLUSTER_CONNECTION_POOLING") == "true" {
625625
config := &upstreams.HttpProtocolOptions{
626+
UpstreamHttpProtocolOptions: &corev3.UpstreamHttpProtocolOptions{
627+
AutoSni: true,
628+
},
626629
CommonHttpProtocolOptions: &corev3.HttpProtocolOptions{
627630
MaxRequestsPerConnection: wrapperspb.UInt32(1),
628631
},

0 commit comments

Comments
 (0)