]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2: immediately remove a failed connection from the idle list
authorWilly Tarreau <w@1wt.eu>
Thu, 31 Oct 2019 14:36:30 +0000 (15:36 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 Oct 2019 14:39:27 +0000 (15:39 +0100)
commit4481e26e5dd2bc04df494c3f176aa5ceea3d63d5
tree9a6c0e0b0754ab8ef41b60b3e7666ee26c817de2
parentc61966f9b468b72528f854f4bc64bb5934751384
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).
src/mux_h2.c