mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue