]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: servers: Used a locked list for idle_orphan_conns.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 22 Jan 2019 15:11:03 +0000 (16:11 +0100)
committerOlivier Houchard <cognet@ci0.org>
Tue, 26 Feb 2019 17:17:32 +0000 (18:17 +0100)
commit7f1bc31feec82e7fde40bdff8902c2acf7fa2b3a
tree9982bbbc4423808fb93a3def58ed48fda7f966b0
parenta8434ec14612d9a04e50e1c51e58f663dad46e96
MEDIUM: servers: Used a locked list for idle_orphan_conns.

Use the locked macros when manipulating idle_orphan_conns, so that other
threads can remove elements from it.
It will be useful later to avoid having a task per server and per thread to
cleanup the orphan list.
include/proto/connection.h
include/proto/server.h
src/backend.c