]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: proto_tcp: use the same code to bind servers and backends
authorWilly Tarreau <w@1wt.eu>
Sat, 8 Dec 2012 21:49:11 +0000 (22:49 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 9 Dec 2012 09:05:37 +0000 (10:05 +0100)
commita4380b4f15be2768f0ada8ad89a3b987a2b90570
treef8e2171660920101ddd81fae4d302cc6ae1f253d
parentef9a36055511b14c0a072e5f817143eecade5cfd
CLEANUP: proto_tcp: use the same code to bind servers and backends

The tproxy and source binding code has now be factored out for
servers and backends. A nice effect is that the code now supports
having backends use source port ranges, though the config does not
support it yet. This change has reduced the executable by around
700 bytes.
src/proto_tcp.c