]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: servers: Split the connections into idle, safe, and available.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 13 Feb 2020 18:12:07 +0000 (19:12 +0100)
committerOlivier Houchard <cognet@ci0.org>
Thu, 19 Mar 2020 21:07:33 +0000 (22:07 +0100)
commitdc2f2753e97ecfe94827de56ee9efd2cd6d39ad3
tree903e0e3aa3cb39f0360e7efe664831ac85abbbbd
parent2444aa5b6693ed626f78b7113f868f1bee4584d5
MEDIUM: servers: Split the connections into idle, safe, and available.

Revamp the server connection lists. We know have 3 lists :
- idle_conns, which contains idling connections
- safe_conns, which contains idling connections that are safe to use even
for the first request
- available_conns, which contains connections that are not idling, but can
still accept new streams (those are HTTP/2 or fastcgi, and are always
considered safe).
include/proto/server.h
include/types/server.h
src/backend.c
src/cfgparse.c
src/connection.c
src/haproxy.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/server.c