mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-18 05:07:05 +02:00
MINOR: server: add a list of safe, already reused idle connections
These ones are considered safe as they have already been reused. They will be useful in "aggressive" and "always" http-reuse modes in order to place the first request of a connection with the least risk.
This commit is contained in:
@@ -888,6 +888,7 @@ int parse_server(const char *file, int linenum, char **args, struct proxy *curpr
|
||||
LIST_INIT(&newsrv->pendconns);
|
||||
LIST_INIT(&newsrv->priv_conns);
|
||||
LIST_INIT(&newsrv->idle_conns);
|
||||
LIST_INIT(&newsrv->safe_conns);
|
||||
do_check = 0;
|
||||
do_agent = 0;
|
||||
newsrv->flags = 0;
|
||||
|
||||
Reference in New Issue
Block a user