mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-09 08:37:04 +02:00
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.
This commit is contained in:
parent
c386a8851e
commit
1a7ad7ad18
@ -1600,6 +1600,8 @@ static int h1_process(struct h1c * h1c)
|
|||||||
if (!h1s_create(h1c, NULL))
|
if (!h1s_create(h1c, NULL))
|
||||||
goto release;
|
goto release;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
goto release;
|
||||||
h1s = h1c->h1s;
|
h1s = h1c->h1s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user