]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: h2: always remove a stream from the send list before freeing it
authorWilly Tarreau <w@1wt.eu>
Thu, 23 Nov 2017 17:12:50 +0000 (18:12 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 Nov 2017 17:12:50 +0000 (18:12 +0100)
commit541dd82879b686dd208e8823154fb07bd945fb85
tree3c3f974d16b73a7ec10244978bc6aaaa5e28c2fb
parentee8269e84d2c10328fe933646e74602c0d17f457
BUG/MAJOR: h2: always remove a stream from the send list before freeing it

When a stream is aborted on timeout or any reason initiated by the stream,
and this stream was subscribed to the send list, we forgot to detach it
when freeing it, resulting in a dead node remaining present in the send
list with all usual funny consequences (memory corruption, crashes, etc).
Let's simply unconditionally delete the stream.
src/mux_h2.c