]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: threads/proxy: Add a lock per proxy and atomically update proxy vars
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 2 Jun 2017 13:33:24 +0000 (15:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 12:58:30 +0000 (13:58 +0100)
commitff8abcd31d390c5bc3b72c8acf991144c91c28ef
tree30df446c219edcf64c0d5cc07db4ed500113ff18
parent8d8aa0d681c001891839588c0d51fa3cc9f652c7
MEDIUM: threads/proxy: Add a lock per proxy and atomically update proxy vars

Now, each proxy contains a lock that must be used when necessary to protect
it. Moreover, all proxy's counters are now updated using atomic operations.
14 files changed:
include/common/hathreads.h
include/proto/proxy.h
include/types/proxy.h
src/backend.c
src/flt_http_comp.c
src/haproxy.c
src/log.c
src/proto_http.c
src/proto_tcp.c
src/proxy.c
src/queue.c
src/session.c
src/stream.c
src/tcp_rules.c