]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: buffer: move buffer initialization after channel initialization
authorWilly Tarreau <w@1wt.eu>
Mon, 24 Nov 2014 10:36:57 +0000 (11:36 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Dec 2014 22:47:32 +0000 (23:47 +0100)
commit696a2910a02682b0b3827961d83306952d99dbc6
tree161fd2a121bd8d71c9b9954cac7d2209a2c3f637
parente583ea583a5e028c25130e25c2d259be3e4fe148
MINOR: buffer: move buffer initialization after channel initialization

It's not clean to initialize the buffer before the channel since it
dereferences one pointer in the channel. Also we'll want to let the
channel pre-initialize the buffer, so let's ensure that the channel
is always initialized prior to the buffers.
src/peers.c
src/session.c