]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: define is_active app-ops
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 1 Apr 2022 15:56:58 +0000 (17:56 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 7 Apr 2022 08:23:10 +0000 (10:23 +0200)
commit198d35f9c69ec3e0cba4a30f9ebb736b26fcf95e
tree8a6c2e58f6cd6f8a4d81e8b082f0dabfbd9e8385
parent06890aaa91aaf5d4ba34e9553e657177e4150927
MINOR: mux-quic: define is_active app-ops

Add a new app layer operation is_active. This can be used by the MUX to
check if the connection can be considered as active or not. This is used
inside qcc_is_dead as a first check.

For example on HTTP/3, if there is at least one bidir client stream
opened the connection is active. This explicitly ignore the uni streams
used for control and qpack as they can never be closed during the
connection lifetime.
include/haproxy/mux_quic-t.h
src/h3.c
src/hq_interop.c
src/mux_quic.c