Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodtQuicStreamManager.ConfigureSendWindow

procedure ConfigureSendWindow(aMaxBytes: Integer);
Optional retained-send policy, configured before queueing any data. Zero preserves the legacy shared-pool policy. A positive window reserves all outstanding advertised connection receive credit and bounds aggregate retained send bytes. One range slot per window byte bounds any ACK split. W/RTT is the throughput ceiling (64 KiB/50 ms = 1.31 MB/s; 256 KiB/50 ms = 5.24 MB/s). A peer can force W one-byte ranges: steady storage is W + W*SizeOf(tSendRange) plus the owner's output intervals, max(256,W div 256)*32 bytes on the prepared server. Send ranges are 32/40 bytes on Win32/Win64; output intervals 32 on both. Array replacement can double descriptors and costs quadratic CPU. Multiply by listener MaxConnections plus receive/HTTP/TLS headroom. HTTP/3's deliberately low 65536 default makes slow service visible instead of permitting large pinned allocations per peer. Raise it with a lower connection cap and a memory budget.