]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h2: split h2c_stream_new() into h2s_new() + h2c_frt_stream_new()
authorWilly Tarreau <w@1wt.eu>
Wed, 3 Oct 2018 16:53:55 +0000 (18:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Oct 2018 14:58:01 +0000 (16:58 +0200)
commita8e49548567a097fede5e69254029b2cc9671dc9
tree99cdbf626d802b37f715f91a426ee88ae9fd9827
parent0b37d658e6bb14134581358b210b4b66d5373202
MINOR: h2: split h2c_stream_new() into h2s_new() + h2c_frt_stream_new()

For backend connections we'll have to initialize streams but not allocate
conn_streams since they'll already be there. Thus this patch splits the
h2c_stream_new() function into one dedicated to allocation of a new stream
and another one supposed to attach this stream to an existing frontend
connection.
src/mux_h2.c