commit | 9f95e4084c1ace3c01fa7a892278ac13df477a1c | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@exceliance.fr> | Fri Mar 21 14:51:46 2014 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Mar 31 09:54:44 2014 +0200 |
tree | 41c18a42db99297061f45dc22163a506e1d7c95d | |
parent | 46006bde3c7f76e2200112ec876d016cac2ac2c1 [diff] |
MINOR: standard: Add ipv6 support in the function url2sa(). The function url2sa() converts faster url like http://<ip>:<port> in a struct sockaddr_storage. This patch add: - the https support - permit to return the length parsed - support IPv6 - support DNS synchronous resolution only during start of haproxy. The faster IPv4 convertion way is keeped. IPv6 is slower, because I use the standard IPv6 parser function.