commit | 103e5663c8419b1f821ba0d68c1704aeaaec7f91 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Nov 26 18:48:14 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Nov 26 18:50:30 2017 +0100 |
tree | e333985625d0627669ef04826e96bbde41c94e4f | |
parent | 95c4e14d0c7d798b1f982541ee07e81f422ccf15 [diff] |
BUG/MAJOR: threads/queue: avoid recursive locking in pendconn_get_next_strm() pendconn_get_next_strm() is called from process_srv_queue() under the server lock, and calls stream_add_srv_conn() with this lock held, while the latter tries to take it again. This results in a deadlock when a server's maxconn is reached and haproxy is built with thread support.