gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-twister] branch master updated: fix curl easy option


From: gnunet
Subject: [GNUnet-SVN] [taler-twister] branch master updated: fix curl easy options for decoding: we almost certainly want content decoding, and must have transfer decoding
Date: Tue, 05 Jun 2018 10:08:38 +0200

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

grothoff pushed a commit to branch master
in repository twister.

The following commit(s) were added to refs/heads/master by this push:
     new b5548ef  fix curl easy options for decoding: we almost certainly want 
content decoding, and must have transfer decoding
b5548ef is described below

commit b5548ef68614c83348e03505cc15aae3b9f000f2
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Jun 5 10:08:35 2018 +0200

    fix curl easy options for decoding: we almost certainly want content 
decoding, and must have transfer decoding
---
 src/twister/taler-twister-service.c | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/twister/taler-twister-service.c 
b/src/twister/taler-twister-service.c
index a9ea9ce..7abd855 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -729,6 +729,7 @@ con_val_iter (void *cls,
   return MHD_YES;
 }
 
+
 /**
  * Walk a JSON object preparing its modification.
  *
@@ -741,8 +742,7 @@ con_val_iter (void *cls,
  *             to the jansson modification function.
  *             To be freed by the caller.
  * @param json the object to be walked over.
- *
- * @return GNUNET_OK if @a path was valid.
+ * @return #GNUNET_OK if @a path was valid.
  */
 static unsigned int
 walk_response_object (const char *path,
@@ -825,6 +825,7 @@ walk_response_object (const char *path,
   return GNUNET_OK;
 }
 
+
 /**
  * Modify a JSON object.  NOTE, the new value to set is
  * taken from the global value `modify_value'.
@@ -1228,12 +1229,6 @@ create_response (void *cls,
                      CURLOPT_NOSIGNAL,
                      1L);
     curl_easy_setopt (hr->curl,
-                     CURLOPT_HTTP_CONTENT_DECODING,
-                     0);
-    curl_easy_setopt (hr->curl,
-                     CURLOPT_HTTP_TRANSFER_DECODING,
-                     0);
-    curl_easy_setopt (hr->curl,
                      CURLOPT_PRIVATE,
                      hr);
     curl_easy_setopt (hr->curl,

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



reply via email to

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