mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-28 01:01:18 +02:00
As specified by HTTP/3 draft, an unknown unidirectional stream can be aborted. To do this, use a new flag QC_SF_READ_ABORTED. When the MUX detects this flag, QCS instance is automatically freed. Previously, such streams were instead automatically drained. By aborting them, we economize some useless memcpy instruction. On future data reception, QCS instance is not found in the tree and considered as already closed. The frame payload is thus deleted without copying it.