[MEDIUM] move connection establishment from backend to the SI.
authorWilly Tarreau <w@1wt.eu>
Sun, 16 Aug 2009 12:02:45 +0000 (14:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 16 Aug 2009 15:46:15 +0000 (17:46 +0200)
commit9650f376282a902947cab2240a3b8583c92cbff1
treed76d014525681603208aac71130443a1f60d339e
parentc9fce2fee83cfaaee026595db8ce020f7b264d02
[MEDIUM] move connection establishment from backend to the SI.

The connection establishment was completely handled by backend.c which
normally just handles LB algos. Since it's purely TCP, it must move to
proto_tcp.c. Also, instead of calling it directly, we now call it via
the stream interface, which will later help us unify session handling.
include/proto/proto_tcp.h
include/types/fd.h
include/types/stream_interface.h
src/backend.c
src/client.c
src/proto_tcp.c
src/proto_uxst.c