mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 23:01:24 +02:00
Add new qcs fields to count the sum of bytes received for each stream. This is necessary to enforce flow-control for reception on the peer. For the moment, the implementation is partial. No MAX_STREAM_DATA or FLOW_CONTROL_ERROR are emitted. BUG_ON statements are here as a remainder. This means that for the moment we do not support POST payloads greater that the initial max-stream-data announced (256k currently). At least, we now ensure that we never buffer a frame which overflows the flow-control limit : this ensures that the memory consumption per stream should stay under control.