1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
David Shaw 5c557a51cd 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.

Backported from 6b1f71055ebab36989e2089cfde319d2ba40ada7

* keyserver/gpgkeys_hkp.c (main): Only default try-dns-srv to on if we
  have SRV support in the first place.

Backported from 732f3d1d4786239db5f31f82cc04ec79326cc13c
2012-12-19 13:54:27 -05:00
..
2012-12-14 16:08:23 +01:00
2009-09-03 08:59:41 +00:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2003-10-25 16:27:24 +00:00
2003-10-25 16:27:24 +00:00
2012-12-14 16:08:23 +01:00
2007-12-17 10:49:08 +00:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2011-08-09 10:32:21 +02:00
2012-12-14 16:08:23 +01:00
2007-10-23 10:48:09 +00:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2011-08-09 10:32:21 +02:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2007-10-23 10:48:09 +00:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00
2012-12-14 16:08:23 +01:00