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
..
2016-12-23 02:42:26 +01:00
2014-02-23 23:31:13 +01:00
2016-12-22 15:13:37 +01:00
2017-01-04 12:13:38 +01:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:05:14 +01:00
2017-01-03 12:29:52 +01:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:07:44 +01:00
2016-11-23 09:05:14 +01:00
2016-11-13 22:35:10 +01:00
2016-12-22 15:13:37 +01:00
2012-09-03 12:20:10 +02:00
2016-12-22 15:33:11 +01:00
2013-01-14 01:34:48 +01:00
2017-01-08 15:14:38 +01:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:05:14 +01:00
2016-12-23 15:20:16 +01:00
2016-11-23 09:05:14 +01:00
2016-11-28 01:22:57 +01:00
2016-12-22 22:30:13 +01:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:05:14 +01:00
2015-10-13 14:50:20 +02:00
2014-01-09 20:09:43 +01:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:05:14 +01:00
2015-10-13 17:17:34 +02:00
2016-07-06 21:58:02 +02:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:05:14 +01:00
2017-01-06 16:21:09 +01:00
2016-03-04 07:36:04 +01:00
2016-11-23 09:25:57 +01:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:05:14 +01:00
2016-11-28 01:22:57 +01:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2017-01-02 10:46:08 +01:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:05:14 +01:00
2016-04-22 18:09:21 +02:00
2016-10-12 19:13:46 +02:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:25:57 +01:00
2016-11-23 09:05:14 +01:00
2016-11-23 09:05:14 +01:00
2016-10-04 04:23:09 +02:00
2016-07-06 21:58:02 +02:00
2016-11-23 09:05:14 +01:00