commit | 68d4ee9e261e6a6a921e2107b43a36ed5299e8f3 | [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 | 267a8b6ea384b846bf0ba5eadd354d0e1e1bbeeb | |
parent | 1553b6657dd15565baaa0220ab232ba6c9cf7797 [diff] |
MINOR: mux-h1: avoid taking the toremove_lock in on dying tasks If the owning task is already dying (context was destroyed by h1_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.