]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: Initialize the conn-stream by hand in cs_init()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Mar 2022 14:28:36 +0000 (15:28 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Apr 2022 13:10:14 +0000 (15:10 +0200)
commitbb772d09f579cc366c0aadf832ad3f9efffee983
treee82c575c215febc504e737fd379390102d0ae8b2
parent9388204db1aa92e172a2eba1210fc803703f3132
REORG: Initialize the conn-stream by hand in cs_init()

The function cs_init() is only called by cs_new(). The conn-stream
initialization will be reviewed. It is easier to do it in cs_new() instead
of using a dedicated function. cs_new() is pretty simple, there is no reason
to split the code in this case.
include/haproxy/conn_stream.h
src/conn_stream.c