]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream_interface: introduce a new "struct connection" type
authorWilly Tarreau <w@1wt.eu>
Mon, 21 May 2012 14:31:45 +0000 (16:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 21 May 2012 14:31:45 +0000 (16:31 +0200)
commit73b013b070ddfe8d38e20c52a5d836e3f2be1838
tree373c35ce31cf4eb40c9b8e9f8edc153b10cc2b64
parentfe7f1ea68e009041a98d50d6cfffe69a6df8216f
MINOR: stream_interface: introduce a new "struct connection" type

We start to move everything needed to manage a connection to a special
entity "struct connection". We have the data layer operations and the
control operations there. We'll also have more info in the future such
as file descriptors and applet contexts, so that in the end it becomes
detachable from the stream interface, which will allow connections to
be reused between sessions.

For now on, we start with minimal changes.
include/proto/stream_interface.h
include/types/stream_interface.h
src/backend.c
src/dumpstats.c
src/peers.c
src/proto_http.c
src/proto_tcp.c
src/session.c
src/sock_raw.c
src/stream_interface.c