BUG/MEDIUM: mux-h2: immediately remove a failed connection from the idle list

If a connection faces an error or a timeout, it must be removed from its
idle list ASAP. We certainly don't want to risk sending new streams on
it.

This should be backported to 2.0 (replacing MT_LIST_DEL with LIST_DEL_LOCKED)
and 1.9 (there's no lock there, the idle lists are per-thread and per-server
however a LIST_DEL_INIT will be needed).

(cherry picked from commit 4481e26e5dd2bc04df494c3f176aa5ceea3d63d5)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed