mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-17 11:06:54 +00:00
MEDIUM: mux_h2: Always set CS_FL_NOT_FIRST for new conn_streams.
When creating new conn_streams, always set the CS_FL_NOT_FIRST flag. We don't really care about being the first request for HTTP/2, this only really makes sense for HTTP/1, and that way we can reuse connections.
This commit is contained in:
parent
7aec9ed2f8
commit
746fb772f1
@ -796,6 +796,7 @@ static struct h2s *h2c_frt_stream_new(struct h2c *h2c, int id)
|
||||
if (!cs)
|
||||
goto out_close;
|
||||
|
||||
cs->flags |= CS_FL_NOT_FIRST;
|
||||
h2s->cs = cs;
|
||||
cs->ctx = h2s;
|
||||
h2c->nb_cs++;
|
||||
|
Loading…
Reference in New Issue
Block a user