aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-03-03Emulate curl_easy_getinfo and CURLINFO_RESPONSE_CODE in curl-shim.David Shaw1-1/+8
* keyserver/curl-shim.h, keyserver/curl-shim.c (curl_easy_getinfo): New. Return the HTTP status code for the last transfer.
2009-05-26Avoid caches to get the most recent copy of the key. This is bugDavid Shaw1-0/+11
#1061
2009-04-03* curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): AddDavid Shaw1-2/+4
a CURLOPT_SRVTAG_GPG_HACK (passed through the the http engine). * http.h: Allow passing srvtag to http_open and http_open_document. * http.c (http_open, http_open_document): Allow passing srvtag to http_open and http_open_document.
2008-11-18* curl-shim.h, gpgkeys_curl.c, gpgkeys_hkp.c (main): Always show curlDavid Shaw1-3/+1
version (even for curl-shim).
2008-11-18Make --version close to GNU standards.Werner Koch1-0/+2
2008-11-18* curl-shim.h (curl_version): No need to provide a version forDavid Shaw1-1/+1
curl-shim as it always matches the GnuPG version. * gpgkeys_curl.c, gpgkeys_hkp.c (main): Show which version of curl we're using as part of --version. * gpgkeys_curl.c, gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_ldap.c (show_help): Document --version.
2007-10-23Switched to GPLv3.Werner Koch1-4/+2
Updated gettext.
2007-03-13* gpgkeys_curl.c (main): Use curl_version_info to verify that theDavid Shaw1-1/+8
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-01-16* curl-shim.h, curl-shim.c, gpgkeys_hkp.c: Rename curl_escape() toDavid Shaw1-2/+2
curl_easy_escape() to match cURL.
2006-02-22* curl-shim.h, curl-shim.c (curl_easy_init, curl_easy_setopt,David Shaw1-1/+1
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-1/+3
curl_easy_perform): Add CURLOPT_VERBOSE and CURLOPT_STDERR for easier debugging.
2005-08-04* gpgkeys_hkp.c (main), gpgkeys_curl.c (main), curl-shim.h: ShowDavid Shaw1-0/+1
version of curl (or curl-shim) when debug is set.
2005-07-20* gpgkeys_curl.c (get_key, main): Don't try and be smart about whatDavid Shaw1-0/+1
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* curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): AddDavid Shaw1-0/+2
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* curl-shim.h, curl-shim.c (handle_error, curl_easy_setopt,David Shaw1-4/+15
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/+2
curl_escape and curl_free.
2005-02-12* curl-shim.c (curl_easy_perform): Fix compile warning.David Shaw1-1/+2
* 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/+71
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.