MINOR: quic: remove unneeded QUIC specific stopping function
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 20 Nov 2023 14:45:36 +0000 (15:45 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 20 Nov 2023 16:59:52 +0000 (17:59 +0100)
commitdecf29d06d1deb51bbcd7550c279a7135f5b8ad4
treee2a7c4d3d393c730d3156b60c6814f56368c06ae
parent756b3c5f7b4e2074bf69ac96ffc05c6aa65b1b67
MINOR: quic: remove unneeded QUIC specific stopping function

On CONNECTION_CLOSE reception/emission, QUIC connections enter CLOSING
state. At this stage, only CONNECTION_CLOSE can be reemitted and all
other exchanges are stopped.

Previously, on haproxy process stopping, if all QUIC connections were in
CLOSING state, they were released before their closing timer expiration
to not block the process shutdown. However, since a recent commit, the
closing timer has been shorten to a more reasonable delay. It is now
consider viable to respect connections closing state even on process
shutdown. As such, stopping specific code in QUIC connections idle timer
task was removed.

A specific function quic_handle_stopping() was implemented to notify
QUIC connections on shutdown from main() function. It should have been
deleted along the removal in QUIC idle timer task. This patch just does
this.
include/haproxy/quic_conn.h
src/haproxy.c
src/quic_conn.c