]> git.kaiwu.me - haproxy.git/commit
MINOR: mux-quic: factorize send subscribing
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 3 May 2023 07:50:25 +0000 (09:50 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 11 May 2023 12:04:51 +0000 (14:04 +0200)
commitb35e32e43b98f900771b119621ec83ff36f02c12
treefb3c459c9317d32428235329307e9fc96553dc98
parent04b2208aa0768bb7f69dc4a286e7e059409bdf09
MINOR: mux-quic: factorize send subscribing

Factorize code for send subscribing on the lower layer in a dedicated
function qcc_subscribe_send(). This allows to call the lower layer only
if not already subscribed and print a trace in this case. This should
help to understand when subscribing is really performed.

In the future, this function may be extended to avoid subscribing under
new conditions, such as connection already on error.

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