[Top][All Lists]

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

[GNUnet-SVN] [taler-twister] branch master updated: no need to check "ho

From: gnunet
Subject: [GNUnet-SVN] [taler-twister] branch master updated: no need to check "host" header in responses
Date: Fri, 07 Jun 2019 18:14:53 +0200

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

marcello pushed a commit to branch master
in repository twister.

The following commit(s) were added to refs/heads/master by this push:
     new 6765b13  no need to check "host" header in responses
6765b13 is described below

commit 6765b1339e6f98e64a56e59e7c20aa6abb59ce20
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jun 7 18:14:27 2019 +0200

    no need to check "host" header in responses
 src/twister/taler-twister-service.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/twister/taler-twister-service.c 
index 25f6147..d147d96 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -442,13 +442,6 @@ curl_check_hdr (void *buffer,
-  /* wrong here: "host" is never a response header.  */
-  if (0 == strcasecmp (hdr_type,
-                      MHD_HTTP_HEADER_HOST))
-  {
-    GNUNET_free (ndup);
-    return bytes;
-  }
   /* Skip "Content-length:" header as it will be wrong, given
      that we are man-in-the-middling the connection */
   if (0 == strcasecmp (hdr_type,

To stop receiving notification emails like this one, please contact

reply via email to

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