|
|
538efe |
From 0aa8e873e626c8af5f47e2e9896f33dcff4d7bb6 Mon Sep 17 00:00:00 2001
|
|
|
538efe |
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
538efe |
Date: Sat, 28 Mar 2020 16:59:55 +0000
|
|
|
538efe |
Subject: [PATCH 15/19] curl: Remove some useless debug messages.
|
|
|
538efe |
|
|
|
538efe |
You can get the same information by setting -D curl.verbose=1
|
|
|
538efe |
|
|
|
538efe |
(cherry picked from commit e3539d55241adcbf1bc8102c019a0dd0ae8a3407)
|
|
|
538efe |
---
|
|
|
538efe |
plugins/curl/curl.c | 6 ------
|
|
|
538efe |
1 file changed, 6 deletions(-)
|
|
|
538efe |
|
|
|
538efe |
diff --git a/plugins/curl/curl.c b/plugins/curl/curl.c
|
|
|
538efe |
index 007449bc..8b341ae0 100644
|
|
|
538efe |
--- a/plugins/curl/curl.c
|
|
|
538efe |
+++ b/plugins/curl/curl.c
|
|
|
538efe |
@@ -311,8 +311,6 @@ curl_open (int readonly)
|
|
|
538efe |
goto err;
|
|
|
538efe |
}
|
|
|
538efe |
|
|
|
538efe |
- nbdkit_debug ("opened libcurl easy handle");
|
|
|
538efe |
-
|
|
|
538efe |
/* Note this writes the output to stderr directly. We should
|
|
|
538efe |
* consider using CURLOPT_DEBUGFUNCTION so we can handle it with
|
|
|
538efe |
* nbdkit_debug.
|
|
|
538efe |
@@ -340,8 +338,6 @@ curl_open (int readonly)
|
|
|
538efe |
goto err;
|
|
|
538efe |
}
|
|
|
538efe |
|
|
|
538efe |
- nbdkit_debug ("set libcurl URL: %s", url);
|
|
|
538efe |
-
|
|
|
538efe |
curl_easy_setopt (h->c, CURLOPT_AUTOREFERER, 1);
|
|
|
538efe |
curl_easy_setopt (h->c, CURLOPT_FOLLOWLOCATION, 1);
|
|
|
538efe |
curl_easy_setopt (h->c, CURLOPT_FAILONERROR, 1);
|
|
|
538efe |
@@ -436,8 +432,6 @@ curl_open (int readonly)
|
|
|
538efe |
curl_easy_setopt (h->c, CURLOPT_READDATA, h);
|
|
|
538efe |
}
|
|
|
538efe |
|
|
|
538efe |
- nbdkit_debug ("returning new handle %p", h);
|
|
|
538efe |
-
|
|
|
538efe |
return h;
|
|
|
538efe |
|
|
|
538efe |
err:
|
|
|
538efe |
--
|
|
|
538efe |
2.18.2
|
|
|
538efe |
|