]> git.kaiwu.me - haproxy.git/commit
MINOR: mux_quic: do not perform unnecessary timeout handling on BE side
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 21 Apr 2026 15:58:27 +0000 (17:58 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 6 May 2026 06:57:35 +0000 (08:57 +0200)
commit81eda41d5c7982a78ce357170acf607e4817bf7f
tree09851ba89d2ed11863f863722c7310b7e76e4368
parentaf49294633abd3fb41067027fe97bd09c414891f
MINOR: mux_quic: do not perform unnecessary timeout handling on BE side

MUX implements a timeout for HTTP keep-alive which monitors the delay
between two HTTP requests. This is only applicable for frontend
connections, as on the backend side idle connections can be kept in the
server pool. In QUIC mux, this timeout relies on QCC <idle_start> which
is refresh when the last request is terminated.

This patch modifies the refresh operation so that it is only performed
for frontend connections. This is not strictly necessary but the timeout
timeout management is now clearer and it eliminates an unnecessary
operation for backend connections.

Similarly, http-request timeout is also only applicable for frontend
connections. This relies on qcs_wait_http_req() function. A request QCS
is inserted in <opening_list> until the headers are received. This is
unnecessary on the backend side so this is excluded as well.
include/haproxy/mux_quic.h
src/mux_quic.c