Revert "MINOR: queue: factor out the proxy/server queuing code"
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Jun 2021 05:22:15 +0000 (07:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jun 2021 05:22:15 +0000 (07:22 +0200)
commit58f4dfb2b038cf5a8e9110f13755af750b20a010
tree6fc5eb6b22d7b34fce1c981641cb5524035d3d43
parenta4a9bbadc613dd21228fb776fe70e098c7c9b965
Revert "MINOR: queue: factor out the proxy/server queuing code"

This reverts commit 3eecdb65c5a6b933399ebb0ac4ef86a7b97cf85d.

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