* http.h, http.c (send_request): Pass in srvtag and make its presence
commit5648b1bda3d470396cc37596a66c918d8c40abb9
authordshaw <dshaw@8a63c251-dffc-0310-8ec6-d64dca2275b1>
Thu, 28 May 2009 04:25:25 +0000 (28 04:25 +0000)
committerdshaw <dshaw@8a63c251-dffc-0310-8ec6-d64dca2275b1>
Thu, 28 May 2009 04:25:25 +0000 (28 04:25 +0000)
tree4fe96d047f829ab9b026fe9a8aa8d0c9bb0523d5
parent16e8118836db3694b41a9fb89df0bbbfb1ec8516
* 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).

git-svn-id: svn://cvs.gnupg.org/gnupg/trunk@5026 8a63c251-dffc-0310-8ec6-d64dca2275b1
common/ChangeLog
common/http.c
common/http.h
keyserver/ChangeLog
keyserver/curl-shim.c
keyserver/curl-shim.h
keyserver/gpgkeys_hkp.c