]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: close on qcs allocation failure
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 9 Mar 2023 09:16:09 +0000 (10:16 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Mar 2023 13:39:49 +0000 (14:39 +0100)
commitc0c6b6d8c0f11f2106d881df09140b0e429251e9
treeef2fa937edc93bb649d0c43919a58d90fa67a1e9
parente2213df9fe5a84288a952bd685a0cafc3d1f6b3c
MINOR: mux-quic: close on qcs allocation failure

Emit a CONNECTION_CLOSE with INTERNAL_ERROR code each time qcs
allocation fails. This can happen in two cases :
* when creating a local stream through application layer
* when instantiating a remote stream through qcc_get_qcs()

In both cases, error paths are already in place to interrupt the current
operation and a CONNECTION_CLOSE will be emitted soon after.

This should be backported up to 2.7.
src/mux_quic.c