commit | 48ce6a3ab181bf7b90376008d7fb077df57387c0 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Thu Jul 02 11:58:05 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 02 14:17:25 2020 +0200 |
tree | 9bfdbc1eb25643697431512fbe901985e5bd58e5 | |
parent | 54d31170a9a8bf126cb7d1783bbdb806f742cc0d [diff] |
BUG/MEDIUM: muxes: Make sure nobody stole the connection before using it. In the various timeout functions, make sure nobody stole the connection from us before attempting to doing anything with it, there's a very small race condition between the time we access the task context, and the time we actually check it again with the lock, where it could have been free'd.