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 (7f098fb -> 55d43f7)


From: gnunet
Subject: [GNUnet-SVN] [taler-twister] branch master updated (7f098fb -> 55d43f7)
Date: Fri, 28 Sep 2018 15:24:34 +0200

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

marcello pushed a change to branch master
in repository twister.

    from 7f098fb  Align to latest curl defaults.
     new 0e249e8  Undoing the use of "dual stack" at MHD.
     new 55d43f7  Disabling compression.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/twister/taler-twister-service.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/twister/taler-twister-service.c 
b/src/twister/taler-twister-service.c
index ac9c2ae..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))
@@ -1406,11 +1411,9 @@ create_response (void *cls,
                       "%s%s",
                       target_server_base_url,
                       hr->url);
-
       curl_easy_setopt (hr->curl,
                        CURLOPT_URL,
                        curlurl);
-
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                   "Forwarding request to: %s\n",
                   curlurl);
@@ -1584,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;
   }
@@ -2032,7 +2035,7 @@ run (void *cls,
 
   /* start MHD daemon for HTTP */
   mhd_daemon = MHD_start_daemon
-    (MHD_USE_DEBUG | MHD_ALLOW_SUSPEND_RESUME | MHD_USE_DUAL_STACK,
+    (MHD_USE_DEBUG | MHD_ALLOW_SUSPEND_RESUME,
      (uint16_t)  port,
      NULL, NULL,
      &create_response, NULL,

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



reply via email to

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