]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: mux-h2: fix the condition to close a cs-less h2s on the backend
authorWilly Tarreau <w@1wt.eu>
Tue, 7 May 2019 16:10:10 +0000 (18:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 May 2019 17:17:50 +0000 (19:17 +0200)
commit201fe406534a95bdd8c46b25e81b11e9209ad2f1
tree1215a2efb45c4f04baf26cc6f32b4c98ef018fb6
parent27edc4b915083768d07a883f100edcbaa1e4e20a
BUG/MINOR: mux-h2: fix the condition to close a cs-less h2s on the backend

A typo was introduced in the following commit : 927b88ba0 ("BUG/MAJOR:
mux-h2: fix race condition between close on both ends") making the test
on h2s->cs never being done and h2c->cs being dereferenced without being
tested. This also confirms that this condition does not happen on this
side but better fix it right now to be safe.

This must be backported to 1.9.
src/mux_h2.c