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
..
libiproute
ssl_helper
ssl_helper-wolfssl
udhcp
arp.c
arping.c
brctl.c
Config.src
dnsd.c
ether-wake.c
ftpd.c
ftpgetput.c
hostname.c
httpd_helpers.sh
httpd_indexcgi.c
httpd_post_upload.cgi
httpd_ssi.c
httpd.c
ifconfig.c
ifenslave.c
ifplugd.c
ifupdown.c
inetd.c
interface.c
ip.c
ipcalc.c
isrv_identd.c
isrv.c
isrv.h
Kbuild.src
nameif.c
nbd-client.c
nc_bloaty.c
nc.c
netstat.c
nslookup.c
ntpd.c
ntpd.diff
ping.c
pscan.c
route.c
slattach.c
tc.c
tcpudp_perhost.c
tcpudp_perhost.h
tcpudp.c
telnet.c
telnetd.c
telnetd.ctrlSQ.patch
telnetd.IAC_test.sh
tftp.c
traceroute.c
tunctl.c
vconfig.c
wget.c
whois.c
zcip.c