mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-24 04:38:00 +00:00
Motivation: `estimatedFrameSize` aims to estimate the number of bytes a frame will use on the wire. It includes the 9-octed frame header and is currently used for flow control estimates but according to spec it shouldn't include those 9 bytes https://www.rfc-editor.org/rfc/rfc9113.html#section-6.9.1 Modifications: Replace `estimatedFrameSize` with `flowControlledSize` which ignores the 9-octed frame header and update tests. Result: Flow control calculations should be more accurate