]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: mux-quic: remove useless app_ops is_active callback
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 1 Aug 2022 09:42:48 +0000 (11:42 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 1 Aug 2022 12:13:51 +0000 (14:13 +0200)
commit4ea5090f55c65b19e31c3cd5b823e609b808dad8
tree8bc6f17843f95bc79ec10d4a6a216ce7bccab0ff
parentd3973853c2123c7e55f222c3d68fe3441ee1badc
CLEANUP: mux-quic: remove useless app_ops is_active callback

Timeout in QUIC MUX has evolved from the simple first implementation. At
the beginning, a connection was considered dead unless bidirectional
streams were opened. This was abstracted through an app callback
is_active().

Now this paradigm has been reversed and a connection is considered alive
by default, unless an error has been reported or a timeout has already
been fired. The callback is_active() is thus not used anymore and can be
safely removed to simplify qcc_is_dead().

This commit should be backported to 2.6.
include/haproxy/mux_quic-t.h
src/h3.c
src/hq_interop.c
src/mux_quic.c