]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] add internal support for IPv6 server addresses
authorDavid du Colombier <dducolombier@exceliance.fr>
Thu, 10 Mar 2011 21:26:24 +0000 (22:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 13 Mar 2011 21:00:12 +0000 (22:00 +0100)
commit6f5ccb15896173fc12f4ea183b0fb2e35b185d84
treee2e026226d5d00a71ee0edb10abf71f46e288163
parent827aee913fb43099db3ff790902f79985338817e
[MEDIUM] add internal support for IPv6 server addresses

This patch turns internal server addresses to sockaddr_storage to
store IPv6 addresses, and makes the connect() function use it. This
code already works but some caveats with getaddrinfo/gethostbyname
still need to be sorted out while the changes had to be merged at
this stage of internal architecture changes. So for now the config
parser will not emit an IPv6 address yet so that user experience
remains unchanged.

This change should have absolutely zero user-visible effect, otherwise
it's a bug introduced during the merge, that should be reported ASAP.
14 files changed:
include/common/standard.h
include/proto/proto_tcp.h
include/types/peers.h
include/types/proxy.h
include/types/server.h
include/types/stream_interface.h
src/backend.c
src/cfgparse.c
src/checks.c
src/dumpstats.c
src/peers.c
src/proto_http.c
src/proto_tcp.c
src/standard.c