mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-27 13:39:57 +00:00
TUN-8452: Add flag to control QUIC stream-level flow control limit
This commit is contained in:
@@ -68,6 +68,7 @@ type TunnelConfig struct {
|
||||
|
||||
DisableQUICPathMTUDiscovery bool
|
||||
QUICConnectionLevelFlowControlLimit uint64
|
||||
QUICStreamLevelFlowControlLimit uint64
|
||||
|
||||
FeatureSelector *features.FeatureSelector
|
||||
}
|
||||
@@ -578,6 +579,7 @@ func (e *EdgeTunnelServer) serveQUIC(
|
||||
Tracer: quicpogs.NewClientTracer(connLogger.Logger(), connIndex),
|
||||
DisablePathMTUDiscovery: e.config.DisableQUICPathMTUDiscovery,
|
||||
MaxConnectionReceiveWindow: e.config.QUICConnectionLevelFlowControlLimit,
|
||||
MaxStreamReceiveWindow: e.config.QUICStreamLevelFlowControlLimit,
|
||||
}
|
||||
|
||||
quicConn, err := connection.NewQUICConnection(
|
||||
|
Reference in New Issue
Block a user