]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: connection: split sock_ops into data_ops, app_cp and si_ops
authorWilly Tarreau <wtarreau@exceliance.fr>
Fri, 24 Aug 2012 16:12:41 +0000 (18:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 3 Sep 2012 18:47:31 +0000 (20:47 +0200)
commitc5788911123cc6356e2ec6d891de444e3b0c4d0b
tree69925fea50422cb79e7b22068da82517a9b08d16
parent62266dba881f4634b5a591652d83e57186ecb224
CLEANUP: connection: split sock_ops into data_ops, app_cp and si_ops

Some parts of the sock_ops structure were only used by the stream
interface and have been moved into si_ops. Some of them were callbacks
to the stream interface from the connection and have been moved into
app_cp as they're the application seen from the connection (later,
health-checks will need to use them). The rest has moved to data_ops.

Normally at this point the connection could live without knowing about
stream interfaces at all.
15 files changed:
include/proto/raw_sock.h
include/proto/stream_interface.h
include/types/connection.h
include/types/peers.h
include/types/protocols.h
include/types/server.h
include/types/stream_interface.h
src/backend.c
src/cfgparse.c
src/connection.c
src/dumpstats.c
src/peers.c
src/raw_sock.c
src/session.c
src/stream_interface.c