commit | 40a007cf2a387bc2c4257840bafc54290297cbf9 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Jul 03 15:41:01 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 13:58:30 2017 +0100 |
tree | 8ddebea14cc3d5257c9d839ef24ba47f7436d853 | |
parent | ff8abcd31d390c5bc3b72c8acf991144c91c28ef [diff] |
MEDIUM: threads/server: Make connection list (priv/idle/safe) thread-safe For now, we have a list of each type per thread. So there is no need to lock them. This is the easiest solution for now, but not the best one because there is no sharing between threads. An idle connection on a thread will not be able be used by a stream on another thread. So it could be a good idea to rework this patch later.