commit | bd42e9257da0c66b8e1f77fa926073ea39b3d98a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jun 30 11:19:23 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jun 30 14:06:19 2020 +0200 |
tree | c69df1e2ca04630a4dab373f9b60ff00e0a57877 | |
parent | 68d4ee9e261e6a6a921e2107b43a36ed5299e8f3 [diff] |
MINOR: mux-h2: avoid taking the toremove_lock in on dying tasks If the owning task is already dying (context was destroyed by h2_takeover) there's no point taking the lock then removing it later since all the code in between is conditionned by a non-null context. Let's simplify this.