1
0
mirror of https://github.com/fumiama/terasu-cloudflared.git synced 2026-06-10 13:10:33 +08:00

TUN-8452: Add flag to control QUIC stream-level flow control limit

This commit is contained in:
chungthuang
2024-06-06 11:50:46 -05:00
parent e0b1899e97
commit 354a5bb8af
3 changed files with 16 additions and 0 deletions

View File

@@ -250,6 +250,7 @@ func prepareTunnelConfig(
WriteStreamTimeout: c.Duration(writeStreamTimeout),
DisableQUICPathMTUDiscovery: c.Bool(quicDisablePathMTUDiscovery),
QUICConnectionLevelFlowControlLimit: c.Uint64(quicConnLevelFlowControlLimit),
QUICStreamLevelFlowControlLimit: c.Uint64(quicStreamLevelFlowControlLimit),
}
packetConfig, err := newPacketConfig(c, log)
if err != nil {