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:
Willy Tarreau
2015-08-05 16:35:23 +02:00
parent 161d45ffc7
commit 7017cb040c
3 changed files with 4 additions and 0 deletions

View File

@@ -168,6 +168,7 @@ struct server {
struct list actconns; /* active connections */
struct list priv_conns; /* private idle connections attached to stream interfaces */
struct list idle_conns; /* sharable idle connections attached or not to a stream interface */
struct list safe_conns; /* safe idle connections attached to stream interfaces, shared */
struct task *warmup; /* the task dedicated to the warmup when slowstart is set */
struct conn_src conn_src; /* connection source settings */