Revert "MINOR: queue: use atomic-ops to update the queue's index"
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Jun 2021 05:22:12 +0000 (07:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jun 2021 05:22:12 +0000 (07:22 +0200)
commita4a9bbadc613dd21228fb776fe70e098c7c9b965
tree852de5587608fe7ca96c381eb97c993573af39a9
parentddac4a1f358e2620e4c8c4b2845a8a83eaf47d71
Revert "MINOR: queue: use atomic-ops to update the queue's index"

This reverts commit 1335eb9867b76c8e4570ad4242dc728287af3d56.

The recent changes since 5304669e1 MEDIUM: queue: make
pendconn_process_next_strm() only return the pendconn opened a tiny race
condition between stream_free() and process_srv_queue(), as the pendconn
is accessed outside of the lock, possibly while it's being freed. A
different approach is required.
src/queue.c