gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: dumping HTTP response body


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: dumping HTTP response body for debug.
Date: Thu, 15 Mar 2018 08:06:31 +0100

This is an automated email from the git hooks/post-receive script.

marcello-stanisci pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new a7452b8b3 dumping HTTP response body for debug.
a7452b8b3 is described below

commit a7452b8b353df46944b43c96fabc0f122cd571d2
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Mar 15 08:06:05 2018 +0100

    dumping HTTP response body for debug.
---
 src/curl/curl.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/curl/curl.c b/src/curl/curl.c
index 6bc17ad00..f19790338 100644
--- a/src/curl/curl.c
+++ b/src/curl/curl.c
@@ -386,6 +386,11 @@ download_get_result (struct DownloadBuffer *db,
   json_error_t error;
   char *ct;
 
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+              "Downloaded body: %.*s\n",
+              (int) db->buf_size,
+              (char *) db->buf);
+
   if ( (CURLE_OK !=
         curl_easy_getinfo (eh,
                            CURLINFO_CONTENT_TYPE,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]