Skip to content

Commit cf38c3d

Browse files
committed
[envoy] bump upstream per-connection buffer limit to 1 MiB
The 32 KiB default caused flow control pauses during high-throughput transfers through the tunnel data path.
1 parent 050d125 commit cf38c3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/gateway/xds/translator/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
const (
3434
extensionOptionsKey = "envoy.extensions.upstreams.http.v3.HttpProtocolOptions"
3535
// https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto#envoy-v3-api-field-config-cluster-v3-cluster-per-connection-buffer-limit-bytes
36-
tcpClusterPerConnectionBufferLimitBytes = 32768
36+
tcpClusterPerConnectionBufferLimitBytes = 1048576 // 1 MiB
3737
tcpClusterPerConnectTimeout = 10 * time.Second
3838
)
3939

0 commit comments

Comments
 (0)