]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: buffer: reset a buffer in b_reset() and not channel_init()
authorWilly Tarreau <w@1wt.eu>
Mon, 24 Nov 2014 09:54:47 +0000 (10:54 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Dec 2014 22:47:31 +0000 (23:47 +0100)
commit474cf54a97ca19fa0f5a1de9489330f348836531
tree06bf22b84de384abe6e3ec65201f05a3ebef537d
parent3dd6a25323e859667aa313508b1a9787e9e2d55c
MINOR: buffer: reset a buffer in b_reset() and not channel_init()

We'll soon need to be able to switch buffers without touching the
channel, so let's move buffer initialization out of channel_init().
We had the same in compressoin.c.
include/common/buffer.h
include/proto/channel.h
src/compression.c
src/peers.c
src/session.c