]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: Don't release the conn_stream anymore when h1s is destroyed
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Apr 2019 08:43:46 +0000 (10:43 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Apr 2019 20:06:53 +0000 (22:06 +0200)
commit14c91cfdf8f2fea0094afa94b00bee9cc875f769
tree5362dd211e638e79ecf3826a14c9619749501c41
parentb992af00b6b1e2b2e634447e3c4a08d978c1fc36
MINOR: mux-h1: Don't release the conn_stream anymore when h1s is destroyed

An H1 stream is destroyed when the conn_stream is detached or when the H1
connection is destroyed. In the first case, the CS is released by the caller. In
the second one, because the connection is closed, no CS is attached anymore. In
both, there is no reason to release the conn_stream in h1s_destroy().
src/mux_h1.c