aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-05-28Avoid caches to get the most recent copy of the key. This is bug #1061David Shaw1-4/+34
2009-05-28* http.h, http.c (send_request): Pass in srvtag and make its presenceDavid Shaw1-2/+5
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).
2008-10-20Marked all unused args on non-W32 platforms.Werner Koch1-0/+3
2008-04-21W32 related keyserver fixes.Werner Koch1-0/+4
2008-04-14* gpgkeys_curl.c (main), gpgkeys_hkp.c (main): Make sure all libcurlDavid Shaw1-4/+4
number options are passed as long. * curl-shim.c (curl_easy_setopt): Minor tweak to match the real curl better - libcurl uses 'long', not 'unsigned int'.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-03-14From STABLE-BRANCH-1-4David Shaw1-3/+8
* gpgkeys_curl.c (main): Use curl_version_info to verify that the protocol we're about to use is actually available. * curl-shim.h, curl-shim.c (curl_free): Make into a macro. (curl_version_info): New. Only advertises "http" for our shim, of course.
2007-03-10From STABLE-BRANCH-1-4David Shaw1-1/+8
* gpgkeys_ldap.c (send_key): Missing a free(). * curl-shim.c (curl_easy_perform): Some debugging items that may be handy.
2006-11-21No more warnings for AMD64 (at least when cross-compiling). Thus tehre is aWerner Koch1-1/+3
good chance that gpg2 will now work. Other cleanups. Updated gettext.
2006-09-26Made buliding w/o curl workWerner Koch1-24/+8
2006-09-22Clarified cURL and OpenLDAP license issues.Werner Koch1-0/+11
Made readline support work.
2006-08-16With --enable-gpg the keyservers are now build and a first test using gpg2Werner Koch1-30/+43
shows no prblems. Needs more testing of course.
2006-07-27Preparing a new releasegnupg-1.9.22Werner Koch1-5/+3
2006-07-21 * curl-shim.c (curl_easy_perform): Minor cleanup of proxy code.David Shaw1-5/+3
2006-07-12* gpgkeys_ldap.c (printquoted), curl-shim.c (curl_escape): Fix badDavid Shaw1-1/+1
encoding of characters > 127. Noted by Nalin Dahyabhai.
2006-06-30Added keyserver directory from trunkWerner Koch1-0/+324
2006-02-22* curl-shim.h, curl-shim.c (curl_easy_init, curl_easy_setopt,David Shaw1-3/+3
curl_easy_perform): Mingw has 'stderr' as a macro?
2006-02-21* curl-shim.h, curl-shim.c (curl_easy_init, curl_easy_setopt,David Shaw1-2/+17
curl_easy_perform): Add CURLOPT_VERBOSE and CURLOPT_STDERR for easier debugging.
2005-12-06* curl-shim.c (curl_easy_perform): Fix build warning (code beforeDavid Shaw1-1/+2
declaration).
2005-07-27Converted all m_free to xfree etc.Werner Koch1-1/+1
2005-07-20* gpgkeys_curl.c (get_key, main): Don't try and be smart about whatDavid Shaw1-6/+20
protocols we handle. Directly pass them to curl or fake-curl and see if an error comes back. * curl-shim.h, curl-shim.c (handle_error), ksutil.c (curl_err_to_gpg_err): Add support for CURLE_UNSUPPORTED_PROTOCOL in fake curl. * Makefile.am: Don't need -DFAKE_CURL any longer since it's in config.h.
2005-06-23* gpgkeys_mailto.in, gpgkeys_test.in: Use @VERSION@ so version stringDavid Shaw1-2/+17
stays up to date. * gpgkeys_http.c: Don't need to define HTTP_PROXY_ENV here since it's in ksutil.h. * gpgkeys_curl.c (get_key, main), gpgkeys_hkp.c (main): Pass AUTH values to curl or curl-shim. * curl-shim.c (curl_easy_perform), gpgkeys_curl.c (main), gpgkeys_hkp.c (main): Use curl-style proxy semantics.
2005-06-23* curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): AddDavid Shaw1-2/+5
CURLOPT_USERPWD option for HTTP auth.
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch1-1/+2
2005-04-17* gpgkeys_hkp.c: New hkp handler that uses curl or curl-shim.David Shaw1-67/+54
* Makefile.am: Build new gpgkeys_hkp. * curl-shim.c (curl_easy_perform): Cleanup.
2005-04-17* curl-shim.h, curl-shim.c (handle_error, curl_easy_setopt,David Shaw1-18/+92
curl_easy_perform): Add POST functionality to the curl shim.
2005-04-16* curl-shim.h, curl-shim.c (curl_escape, curl_free): EmulateDavid Shaw1-0/+61
curl_escape and curl_free.
2005-02-12* curl-shim.c (curl_easy_perform): Fix compile warning.David Shaw1-1/+1
* curl-shim.h, gpgkeys_curl.c (main), gpgkeys_ldap.c (main): Add ca-cert-file option, to pass in the SSL cert.
2005-02-11* curl-shim.h, curl-shim.c: New. This is code to fake the curl API inDavid Shaw1-0/+153
terms of the current HTTP iobuf API. * gpgkeys_curl.c [FAKE_CURL], Makefile.am: If FAKE_CURL is set, link with the iobuf code rather than libcurl.