MINOR: mux-fcgi: avoid taking the toremove_lock in on dying tasks
authorWilly Tarreau <w@1wt.eu>
Tue, 30 Jun 2020 09:19:23 +0000 (11:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 30 Jun 2020 12:06:19 +0000 (14:06 +0200)
commit60814ffe8188ddd91fcdd6981a570e0d3107f60b
tree2ad28313635a3f204aa1d0d6eeb690170ddbec41
parentbd42e9257da0c66b8e1f77fa926073ea39b3d98a
MINOR: mux-fcgi: avoid taking the toremove_lock in on dying tasks

If the owning task is already dying (context was destroyed by fcgi_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.
src/mux_fcgi.c