]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: remove qcc_shutdown() from qcc_release()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 18 Dec 2023 16:30:35 +0000 (17:30 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 20 Dec 2023 14:27:11 +0000 (15:27 +0100)
commit3c38bb7ee100db95e0c4beaf184b933ab04985a1
tree5fbbcac98176419f36f1332195cf4fe725f49e71
parent3811c1de25bd8b05fb4684614883a0f04f304978
MINOR: mux-quic: remove qcc_shutdown() from qcc_release()

Render qcc_release() more generic by removing qcc_shutdown(). This
prevents systematic graceful shutdown/CONNECTION_CLOSE emission if only
QCC resource deallocation is necessary.

For now, qcc_shutdown() is used before every qcc_release() invocation.
The only exception is on qmux_destroy stream layer callback.

This commit will be useful to reuse qcc_release() in other contexts to
simply deallocate a QCC instance.
src/mux_quic.c