commit | 06890aaa91aaf5d4ba34e9553e657177e4150927 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Mon Apr 04 16:15:06 2022 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Apr 07 10:23:10 2022 +0200 |
tree | 72ecbeb3f4d8ecc2d72f44b8940915479cdf15f5 | |
parent | 846cc046ae45bce5f84be4f1f1795d22d901bf6f [diff] |
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.