Skip to content

Commit

Permalink
Add a missing field for HttpProtocolOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
isala404 committed Oct 31, 2024
1 parent 444d219 commit d6aee70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions adapter/internal/oasparser/envoyconf/routes_with_clusters.go
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,9 @@ func processEndpoints(clusterName string, clusterDetails *model.EndpointCluster,
// This ensure cilium proxy will not reuse the connection
if withinClusterEndpoint && os.Getenv("ROUTER_DISABLE_IN_CLUSTER_CONNECTION_POOLING") == "true" {
config := &upstreams.HttpProtocolOptions{
UpstreamHttpProtocolOptions: &corev3.UpstreamHttpProtocolOptions{
AutoSni: true,
},
CommonHttpProtocolOptions: &corev3.HttpProtocolOptions{
MaxRequestsPerConnection: wrapperspb.UInt32(1),
},
Expand Down

0 comments on commit d6aee70

Please sign in to comment.