commit | 7c6f8a2b0d798cf5fadd93325282446452494216 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jul 26 08:03:14 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 26 17:32:51 2018 +0200 |
tree | 378fa3cb0442f1c0f299016b053aa49d0d5df652 | |
parent | 88930dd364cf6f77687f8f57618d2e5810c4d29f [diff] |
MINOR: queue: implement pendconn queue locking functions The new pendconn_queue_lock() and pendconn_queue_unlock() functions are made to make it more convenient to lock or unlock the pendconn queue either at the proxy or the server depending on pendconn->srv. This way it is possible to remove the open-coding of these locks at various places. These ones have been used in pendconn_unlink() and pendconn_add(), thus significantly simplifying the logic there.