busybox/networking
Laurent Bercot 0ef478f01b httpd: fix address family for reverse proxy client socket
When httpd proxies a request to another server, it first creates
an AF_INET socket, then resolves the server name to a sockaddr,
then connects to it. This fails if the server name resolves to
an IPv6 address.

This patch ensures that the socket is created with the correct
address family (AF_INET6 if the server resolves to an IPv6 address
and AF_INET otherwise).

Signed-off-by: Laurent Bercot <ska-dietlibc@skarnet.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-01-08 15:14:38 +01:00
..
2013-01-14 01:34:48 +01:00
2016-11-28 01:22:57 +01:00
2014-01-09 20:09:43 +01:00
2015-10-13 17:17:34 +02:00
2016-03-04 07:36:04 +01:00
2016-11-28 01:22:57 +01:00