commit | 595e767030a13136ea9bef4eacb38f7abe6cb211 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 20 17:30:08 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Oct 22 17:32:28 2020 +0200 |
tree | 6e9e371561424e343a20ba758aa2fb7ab830d396 | |
parent | ac66d6bafbda79946e25aed6657f4ceab3e39536 [diff] |
MINOR: server: read-lock the cookie during srv_set_dyncookie() No need to use an exclusive lock on the proxy anymore when reading its setting, a read lock is enough. A few other places continue to use a write-lock when modifying simple flags only in order to let this function see a consistent value all along. This might be changed in the future using barriers and local copies.