summaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.c
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2007-03-10 05:07:20 +0100
committerDavid Shaw <dshaw@jabberwocky.com>2007-03-10 05:07:20 +0100
commitc1239f5a4402cdcc0a641fa63a16454a160be8ac (patch)
treea75a2ea1387a7d1412ff15301e731cc48b830a64 /keyserver/curl-shim.c
parentFrom STABLE-BRANCH-1-4 (diff)
downloadgnupg2-c1239f5a4402cdcc0a641fa63a16454a160be8ac.tar.xz
gnupg2-c1239f5a4402cdcc0a641fa63a16454a160be8ac.zip
From STABLE-BRANCH-1-4
* gpgkeys_ldap.c (send_key): Missing a free(). * curl-shim.c (curl_easy_perform): Some debugging items that may be handy.
Diffstat (limited to 'keyserver/curl-shim.c')
-rw-r--r--keyserver/curl-shim.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/keyserver/curl-shim.c b/keyserver/curl-shim.c
index 406e26ee0..6c35c51d4 100644
--- a/keyserver/curl-shim.c
+++ b/keyserver/curl-shim.c
@@ -178,7 +178,14 @@ curl_easy_perform(CURL *curl)
proxy=getenv(HTTP_PROXY_ENV);
if(curl->flags.verbose)
- fprintf(curl->errors,"* HTTP proxy is \"%s\"\n",proxy?proxy:"null");
+ {
+ fprintf(curl->errors,"* HTTP proxy is \"%s\"\n",proxy?proxy:"null");
+ fprintf(curl->errors,"* HTTP URL is \"%s\"\n",curl->url);
+ fprintf(curl->errors,"* HTTP auth is \"%s\"\n",
+ curl->auth?curl->auth:"null");
+ fprintf(curl->errors,"* HTTP method is %s\n",
+ curl->flags.post?"POST":"GET");
+ }
if(curl->flags.post)
{