commit | 90a160a465a3e049a5bd36fe1667af77b2c2ae25 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jun 24 07:21:59 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jun 24 07:21:59 2021 +0200 |
tree | 478012011c419054006e1a7ab66cc3f7b9e4cb97 | |
parent | 2bf3f2cf7fc8a2a49158a16d8a8c04b1e4d77871 [diff] |
Revert "MEDIUM: queue: unlock as soon as possible" This reverts commit 5b3927531145384bad8d2b46ca21f017afde81c7. 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.