]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG/MEDIUM: move protocol->{read,write} to sock_ops
authorWilly Tarreau <w@1wt.eu>
Mon, 7 May 2012 15:01:39 +0000 (17:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 19:28:14 +0000 (21:28 +0200)
commit1b79bdee2692888ddfcb818f21f0932ebe131a0d
treea2b81e11e84e9d2222f6674283060e66210899c0
parent060781fb4a7958d45e51e4331e3ea2f47ababa20
REORG/MEDIUM: move protocol->{read,write} to sock_ops

The protocol must not set the read and write callbacks, they're specific
to the socket layer. Move them to sock_ops instead.
include/types/protocols.h
src/proto_tcp.c
src/proto_uxst.c
src/session.c
src/stream_interface.c
src/stream_sock.c