]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: Add a idle expiration date on the H1 connection
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 5 Oct 2020 15:50:58 +0000 (17:50 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 4 Dec 2020 13:41:49 +0000 (14:41 +0100)
commitdbe57794c4d0ef178b49ef2da2a2e968658c389f
tree4efde8b4e06b31b74c8217471e9972c22bf9dd5e
parent5d3c93cd43ce826efba3afb9456d2bd64789b2cf
MINOR: mux-h1: Add a idle expiration date on the H1 connection

An idle expiration date is added on the H1 connection with the function to
set it depending on connection state. First, there is no idle timeout on
backend connections, For idle frontend connections, the http-request or
keep-alive timeout are used depending on which timeout is defined and if it
is the first request or not. For embryonic connections, the http-request is
always used, if defined. For attached or shutted down connections, no idle
timeout is applied.

For now the idle expiration date is never set and the h1_set_idle_expiration
function remains unused.
src/mux_h1.c