1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
David Shaw f2f12f41ef Fix issue 1446: honor ports given in SRV responses.
* common/http.c (send_request, connect_server, http_open): Use a
  struct srv instead of a single srvtag so we can pass the chosen host
  and port back to the caller.
  (connect_server): Use the proper port in the HAVE_GETADDRINFO case.

* keyserver/curl-shim.c (curl_easy_perform): Use struct srv and log
  chosen host and port.

* keyserver/gpgkeys_hkp.c (main): Properly take the port given by SRV.

Backported from ba9e974f1fd85b3dbbfb5e26d7a14f71d07c7cf2
2012-12-18 21:58:53 -05:00
..
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2011-07-01 10:21:08 +02:00
2012-01-11 01:23:59 -05:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2009-04-06 03:18:07 +00:00
2010-09-28 10:07:30 +00:00
2012-12-18 18:26:56 +01:00
2007-10-23 10:48:09 +00:00