]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG/MAJOR: extract "struct buffer" from "struct channel"
authorWilly Tarreau <wtarreau@exceliance.fr>
Mon, 2 Jul 2012 15:01:20 +0000 (17:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Sep 2012 19:54:56 +0000 (21:54 +0200)
commit572bf9095d76a2ab55fa08bd014168d6481f6753
tree3c56dcd5040ce22fd597317e1c04c158a8606787
parent7421efb85fb3d87f9265071949d0d5e8bfc431e7
REORG/MAJOR: extract "struct buffer" from "struct channel"

At the moment, the struct is still embedded into the struct channel, but
all the functions have been updated to use struct buffer only when possible,
otherwise struct channel. Some functions would likely need to be splitted
between a buffer-layer primitive and a channel-layer function.

Later the buffer should become a pointer in the struct buffer, but doing so
requires a few changes to the buffer allocation calls.
13 files changed:
include/proto/buffers.h
include/types/buffers.h
src/acl.c
src/backend.c
src/buffers.c
src/dumpstats.c
src/frontend.c
src/peers.c
src/proto_http.c
src/proto_tcp.c
src/session.c
src/sock_raw.c
src/stream_interface.c