aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * curl-shim.h, curl-shim.c (curl_easy_init, curl_easy_setopt,David Shaw2006-02-211-2/+17
| | | | | | curl_easy_perform): Add CURLOPT_VERBOSE and CURLOPT_STDERR for easier debugging.
* * curl-shim.c (curl_easy_perform): Fix build warning (code beforeDavid Shaw2005-12-061-1/+2
| | | | | declaration).
* Converted all m_free to xfree etc.Werner Koch2005-07-271-1/+1
|
* * gpgkeys_curl.c (get_key, main): Don't try and be smart about whatDavid Shaw2005-07-201-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.
* * gpgkeys_mailto.in, gpgkeys_test.in: Use @VERSION@ so version stringDavid Shaw2005-06-231-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.
* * curl-shim.h, curl-shim.c (curl_easy_setopt, curl_easy_perform): AddDavid Shaw2005-06-231-2/+5
| | | | | CURLOPT_USERPWD option for HTTP auth.
* Updated FSF street address and preparations for a release candidate.Werner Koch2005-05-311-1/+2
|
* * gpgkeys_hkp.c: New hkp handler that uses curl or curl-shim.David Shaw2005-04-171-67/+54
| | | | | | | * Makefile.am: Build new gpgkeys_hkp. * curl-shim.c (curl_easy_perform): Cleanup.
* * curl-shim.h, curl-shim.c (handle_error, curl_easy_setopt,David Shaw2005-04-171-18/+92
| | | | | curl_easy_perform): Add POST functionality to the curl shim.
* * curl-shim.h, curl-shim.c (curl_escape, curl_free): EmulateDavid Shaw2005-04-161-0/+61
| | | | | curl_escape and curl_free.
* * curl-shim.c (curl_easy_perform): Fix compile warning.David Shaw2005-02-121-1/+1
| | | | | | * curl-shim.h, gpgkeys_curl.c (main), gpgkeys_ldap.c (main): Add ca-cert-file option, to pass in the SSL cert.
* * curl-shim.h, curl-shim.c: New. This is code to fake the curl API inDavid Shaw2005-02-111-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.