]> git.kaiwu.me - haproxy.git/commit
MINOR: mux-quic: adjust timeout to accelerate closing
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 4 Apr 2022 14:15:06 +0000 (16:15 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 7 Apr 2022 08:23:10 +0000 (10:23 +0200)
commit06890aaa91aaf5d4ba34e9553e657177e4150927
tree72ecbeb3f4d8ecc2d72f44b8940915479cdf15f5
parent846cc046ae45bce5f84be4f1f1795d22d901bf6f
MINOR: mux-quic: adjust timeout to accelerate closing

Improve timeout handling on the MUX. When releasing a stream, first
check if the connection can be considered as dead and should be freed
immediatly. This allows to liberate resources faster when possible.

If the connection is still active, ensure there is no attached
conn-stream before scheduling the timeout. To do this, add a nb_cs field
in the qcc structure.
include/haproxy/mux_quic-t.h
include/haproxy/mux_quic.h
src/mux_quic.c