gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: Revert "GNS/PROXY: Forward


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: Revert "GNS/PROXY: Forward request query escaped"
Date: Fri, 26 Apr 2019 19:13:26 +0200

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new ee0bcfa1b Revert "GNS/PROXY: Forward request query escaped"
ee0bcfa1b is described below

commit ee0bcfa1b81cd7a5bed95991b24a23393f712409
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Fri Apr 26 19:13:02 2019 +0200

    Revert "GNS/PROXY: Forward request query escaped"
    
    This reverts commit 47276bf020c03db80e12928fe529d2564be4b171.
---
 src/gns/gnunet-gns-proxy.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c
index 870a34b3c..bae222499 100644
--- a/src/gns/gnunet-gns-proxy.c
+++ b/src/gns/gnunet-gns-proxy.c
@@ -560,11 +560,6 @@ struct Socks5Request
    */
   char *url;
 
-  /**
-   * The urlencoded URL
-   */
-  char *curl_url;
-
   /**
    * Handle to cURL
    */
@@ -1914,7 +1909,6 @@ create_response (void *cls,
       return MHD_queue_response (con,
                                  MHD_HTTP_INTERNAL_SERVER_ERROR,
                                  curl_failure_response);
-    s5r->url = curl_easy_escape (s5r->curl, s5r->url, strlen (s5r->url));
     curl_easy_setopt (s5r->curl,
                      CURLOPT_HEADERFUNCTION,
                      &curl_check_hdr);
@@ -2321,10 +2315,8 @@ mhd_completed_cb (void *cls,
               "Finished request for %s\n",
               s5r->url);
   GNUNET_free (s5r->url);
-  curl_free (s5r->curl_url);
   s5r->state = SOCKS5_SOCKET_WITH_MHD;
   s5r->url = NULL;
-  s5r->curl_url = NULL;
   s5r->response = NULL;
   *con_cls = 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]