commit | 5343d8ed6f0e8129ed51234918f75d5b3c3a2610 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jun 24 07:22:03 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jun 24 07:22:03 2021 +0200 |
tree | a084d1166db752cf7714960b2a3e08a2688d9351 | |
parent | 90a160a465a3e049a5bd36fe1667af77b2c2ae25 [diff] |
Revert "MEDIUM: queue: move the queue lock manipulation to pendconn_process_next_strm()" This reverts commit 9a6d0ddbd6788a05c6730bf0e9e8550d7c5b11aa. 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.