MINOR: mux-h1: Split front/back h1 stream creation in 2 functions
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Sep 2020 08:30:15 +0000 (10:30 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 4 Dec 2020 13:41:48 +0000 (14:41 +0100)
commit2f0ec666136645a5b8f13b36489c79879bb67015
tree61a51f40539df59c7cf5b44a3f310208223e5e0c
parent60ef12c80bf66bcca781b847f49141586eef8474
MINOR: mux-h1: Split front/back h1 stream creation in 2 functions

Dedicated functions are now used to create frontend and backend H1
streams. h1c_frt_stream_new() is now used to create frontend H1 streams and
h1c_bck_stream_new() to create backend ones. Both rely on h1s_new() function
to allocate the stream itself. It is a bit easier to add specific processing
depending we are on the frontend or the backend side.
src/mux_h1.c