]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: stream_interface: create a struct sock_ops to hold socket operations
authorWilly Tarreau <w@1wt.eu>
Mon, 7 May 2012 14:50:03 +0000 (16:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 19:28:14 +0000 (21:28 +0200)
commit060781fb4a7958d45e51e4331e3ea2f47ababa20
tree1031ca8d1b211ecd3e54852e05deb6409be03687
parentceb4ac9c342e644334d3db9bbba56d9c1a39b596
REORG: stream_interface: create a struct sock_ops to hold socket operations

These operators are used regardless of the socket protocol family. Move
them to a "sock_ops" struct. ->read and ->write have been moved there too
as they have no reason to remain at the protocol level.
include/types/stream_interface.h
src/dumpstats.c
src/peers.c
src/proto_http.c
src/session.c
src/stream_interface.c
src/stream_sock.c