]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MAJOR] create proto_tcp and move initialization of proxy listeners
authorWilly Tarreau <w@1wt.eu>
Mon, 29 Oct 2007 00:09:36 +0000 (01:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 4 Nov 2007 21:42:49 +0000 (22:42 +0100)
commite6b989479c3f4838861ac2c6ba801788639e8070
treeac0f4d9cad9acc12961f00a928f35b07cc254baa
parent3acf8c3da849268a955d985630405c0d2fb2fff2
[MAJOR] create proto_tcp and move initialization of proxy listeners

Proxy listeners were very special and not very easy to manipulate.
A proto_tcp file has been created with all that is required to
manage TCPv4/TCPv6 as raw protocols, and provide generic listeners.

The code of start_proxies() and maintain_proxies() now looks less
like spaghetti. Also, event_accept will need a serious lifting in
order to use more of the information provided by the listener.
Makefile
Makefile.bsd
Makefile.osx
include/proto/proto_tcp.h [new file with mode: 0644]
src/cfgparse.c
src/client.c
src/proto_tcp.c [new file with mode: 0644]
src/proxy.c