David Shaw
6b1f71055e
Issue 1447: Pass proper Host header and SNI when SRV is used with curl.
...
* configure.ac: Check for inet_ntop.
* m4/libcurl.m4: Provide a #define for the version of the curl
library.
* keyserver/gpgkeys_hkp.c (main, srv_replace): Call getaddrinfo() on
each target. Once we find one that resolves to an address (whether
IPv4 or IPv6), pass it into libcurl via CURLOPT_RESOLVE using the
SRV name as the "host". Force the HTTP Host header to be the same.
2012-12-17 23:52:15 -05:00
..
2006-07-27 14:18:55 +00:00
2011-12-02 19:28:02 +01:00
2007-05-07 19:49:12 +00:00
2009-09-03 14:08:25 +00:00
2008-02-15 09:58:01 +00:00
2006-12-13 16:49:10 +00:00
2006-11-21 11:00:14 +00:00
2012-03-30 15:21:30 +02:00
2007-05-09 11:01:33 +00:00
2008-02-15 09:58:01 +00:00
2006-11-21 11:00:14 +00:00
2007-05-07 19:49:12 +00:00
2007-05-07 19:49:12 +00:00
2007-05-07 19:49:12 +00:00
2007-05-07 19:49:12 +00:00
2007-05-07 19:49:12 +00:00
2003-12-09 09:07:09 +00:00
2003-12-09 09:07:09 +00:00
2007-05-09 11:01:33 +00:00
2006-11-21 11:00:14 +00:00
2007-12-17 10:49:58 +00:00
2006-11-21 11:00:14 +00:00
2008-02-15 09:58:01 +00:00
2006-11-21 11:00:14 +00:00
2007-05-09 11:01:33 +00:00
2012-12-17 23:52:15 -05:00
2007-05-09 11:01:33 +00:00
2006-12-13 16:49:10 +00:00
2007-05-07 19:49:12 +00:00
2006-11-21 11:00:14 +00:00
2011-12-02 19:28:02 +01:00
2006-11-21 11:00:14 +00:00
2008-02-15 09:58:01 +00:00
2006-11-21 11:00:14 +00:00
2006-11-21 11:00:14 +00:00
2011-08-04 11:36:52 +02:00
2006-11-21 11:00:14 +00:00
2007-05-07 19:49:12 +00:00
2008-04-23 17:23:04 +00:00
2007-05-07 19:49:12 +00:00
2008-04-23 17:23:04 +00:00
2006-08-27 15:33:56 +00:00
2006-11-21 11:00:14 +00:00
2006-12-13 16:49:10 +00:00
2006-11-21 11:00:14 +00:00
2006-11-21 11:00:14 +00:00
2006-11-21 11:00:14 +00:00