]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream_interface: derive the socket operations from the target
authorWilly Tarreau <w@1wt.eu>
Fri, 11 May 2012 16:32:18 +0000 (18:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 May 2012 16:52:14 +0000 (18:52 +0200)
commitd02394b5a1468618cf708fb240a8b0930c077663
tree3d7eca3acf9924ce70545f93bce1f8059045efdb
parent64798bd72051894d2a1dc46257d411a3a99ffb87
MEDIUM: stream_interface: derive the socket operations from the target

Instead of hard-coding sock_raw in connect_server(), we set this socket
operation at config parsing time. Right now, only servers and peers have
it. Proxies are still hard-coded as sock_raw. This will be needed for
future work on SSL which requires a different socket layer.
include/types/peers.h
include/types/server.h
src/backend.c
src/cfgparse.c