commit | 1a7ad7ad188812c7165f08f75a154403b36ac2c6 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Dec 04 16:10:44 2018 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Dec 04 16:43:30 2018 +0100 |
tree | 7252bae7997217f81fe56137c26a5e4242ebd3ce | |
parent | c386a8851e7e94179532213097d68b7288c5f3ce [diff] |
BUG/MEDIUM: mux-h1: Release the mux H1 in h1_process() if there is no h1s With the current design, there is always an H1 stream attached to the mux. So after the conn_stream is detached, if we don't create a new H1 stream in h1_process(), it is important to release the mux.
diff --git a/src/mux_h1.c b/src/mux_h1.c index 5331876..cb4341f 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c
@@ -1600,6 +1600,8 @@ if (!h1s_create(h1c, NULL)) goto release; } + else + goto release; h1s = h1c->h1s; }