]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: buffer: use MT_LIST_ADDQ() for buffer_wait lists additions
authorWilly Tarreau <w@1wt.eu>
Fri, 10 Jul 2020 06:22:26 +0000 (08:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 Jul 2020 06:52:13 +0000 (08:52 +0200)
commit86891278164d84797406ddcf67c0e11c8b433414
tree44298afe23a648c7c4595aa5fb8aeed7002635c7
parentde4db17dee727f74668cca0e5e6d90a3cdf0c2cf
MINOR: buffer: use MT_LIST_ADDQ() for buffer_wait lists additions

The TRY_ADDQ there was not needed since the wait list is exclusively
owned by the caller. There's a preliminary test on MT_LIST_ADDED()
that might have been eliminated by keeping MT_LIST_TRY_ADDQ() but
it would have required two more expensive writes before testing so
better keep the test the way it is.
include/haproxy/channel.h
src/flt_spoe.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/stream.c