]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h2: always consider a server's max-reuse parameter
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Jan 2019 09:25:10 +0000 (10:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jan 2019 18:06:43 +0000 (19:06 +0100)
commite9634bdc224c9c56854766647207e4f1b000f713
tree057d86dc015689ed4110a88c36da37ab4790f8c5
parent9c538e01c2e9d4b7120e96df35447ef08533eb71
MINOR: mux-h2: always consider a server's max-reuse parameter

This parameter allows to limit the number of successive requests sent
on a connection. Let's compare it to the number of streams already sent
on the connection to decide if the connection may still appear in the
idle list or not. This may be used to help certain servers work around
resource leaks, and also helps dealing with the issue of the GOAWAY in
flight which requires to set a usage limit on the client to be reliable.

This must be backported to 1.9.
src/mux_h2.c