mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-03-14 11:31:59 +01:00
This reverts commit 235e8f1afd7e9753a26051b30c47ecc398ccfd12. Prior to the above commit, snd_buf callback for QUIC MUX was able to deal with data even after stream closure. The excess was simply discarded, as no STREAM frame can be emitted after FIN/RESET_STREAM. This code was later removed and replaced by a BUG_ON() to ensure snd_buf is never called after stream closure. However, this approach is too strict. Indeed, there is nothing in the haproxy stream architecture which forbids this scheduling, in part because QUIC MUX is the sole responsible of the stream closure. As such, it is preferable to revert to the old code to prevent any triggering of a BUG_ON() failure. Note that nego_ff does not implement data draining if called after stream closure. This will be done in a future patch. Thanks to Mike Walker for his investigation on the subject. This must be backported up to 2.8.