gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-twister] 02/02: Disabling compression.


From: gnunet
Subject: [GNUnet-SVN] [taler-twister] 02/02: Disabling compression.
Date: Fri, 28 Sep 2018 15:24:36 +0200

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

marcello pushed a commit to branch master
in repository twister.

commit 55d43f79aaeda1741676e9f5f93374349119bae3
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Sep 28 15:21:47 2018 +0200

    Disabling compression.
    
    Still not sure if this change is temporal or permament; for the
    moment it fixes the "twisted" test case without interfering with
    the logic.
---
 src/twister/taler-twister-service.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/twister/taler-twister-service.c 
b/src/twister/taler-twister-service.c
index da24b65..0550cc2 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -857,6 +857,11 @@ con_val_iter (void *cls,
   char *new_value = NULL;
 
   (void) kind;
+
+  if ((0 == strcmp ("Accept-Encoding", key))
+      && (0 == strcmp ("deflate", value)))
+   return MHD_YES;
+
   if (GNUNET_YES == malform_upload)
   {
     if (0 == strcmp ("Content-Length", key))
@@ -1582,7 +1587,7 @@ create_response (void *cls,
     curl_download_prepare ();
 
     /* means (?) upload is over.  */
-    if (0 == hr->io_len) /* FIXME: gnunet-gns-proxy has an extra check here... 
*/
+    if (0 == hr->io_len)
       hr->state = REQUEST_STATE_DOWNLOAD_STARTED;
     return MHD_YES;
   }

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



reply via email to

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