mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-09 12:40:35 +08: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