* http.h, http.c (send_request): Pass in srvtag and make its presence
authorDavid Shaw <dshaw@jabberwocky.com>
Thu, 28 May 2009 04:25:25 +0000 (04:25 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Thu, 28 May 2009 04:25:25 +0000 (04:25 +0000)
commita7205a080cf1b17d385453c8ec244d3bf67bf537
tree4fe96d047f829ab9b026fe9a8aa8d0c9bb0523d5
parentfb866ea151697c0f6999467e2e822a3ef64eff98
* http.h, http.c (send_request): Pass in srvtag and make its presence
sufficient to turn the feature on.  (http_open): From here.
(http_document): And here.

* gpgkeys_hkp.c (srv_replace): New function to transform a SRV
hostname to a real hostname.  (main): Call it from here for the
HAVE_LIBCURL case (without libcurl is handled via the curl-shim).

* curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): Add
a CURLOPT_SRVTAG_GPG_HACK (passed through the the http engine).
common/ChangeLog
common/http.c
common/http.h
keyserver/ChangeLog
keyserver/curl-shim.c
keyserver/curl-shim.h
keyserver/gpgkeys_hkp.c