haproxy/include
Willy Tarreau 967de20a43 BUG/MEDIUM: list: fix again LIST_ADDQ_LOCKED
Well, that's becoming embarrassing. Now this fixes commit 4ef6801c
("BUG/MEDIUM: list: correct fix for LIST_POP_LOCKED's removal of last
element") which itself tried to fix commit 285192564. This fix only
works under low contention and was tested with the listener's queue.
With the idle conns it's obvious that it's still wrong since adding
more than one element to the list leaves a LLIST_BUSY pointer into
the list's head. This was visible when accumulating idle connections
in a server's list.

This new version of the fix almost goes back to the original code,
except that since then we addressed issues with expectedly idempotent
operations that were not. Now the code has been verified on paper again
and has survived 300 million connections spread over 4 threads.

This will have to be backported if the commit above is backported.
2019-03-04 14:09:22 +01:00
..
common BUG/MEDIUM: list: fix again LIST_ADDQ_LOCKED 2019-03-04 14:09:22 +01:00
import
proto MEDIUM: config: don't enforce a low frontend maxconn value anymore 2019-02-28 17:05:32 +01:00
types MINOR: global: keep a copy of the initial rlim_fd_cur and rlim_fd_max values 2019-03-01 10:40:30 +01:00