[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: fix ftbfs
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: fix ftbfs |
Date: |
Sat, 16 Jun 2018 08:23:44 +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 a7b9cb74b fix ftbfs
a7b9cb74b is described below
commit a7b9cb74b69e67dfcbaaaf0f31b264e6886e1374
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Sat Jun 16 08:23:37 2018 +0200
fix ftbfs
---
src/gns/gnunet-gns-proxy.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c
index e8f0854f1..9c3c78b76 100644
--- a/src/gns/gnunet-gns-proxy.c
+++ b/src/gns/gnunet-gns-proxy.c
@@ -1178,6 +1178,7 @@ curl_check_hdr (void *buffer,
s5r->domain);
continue;
}
+ }
else if (0 == strcmp (cookie_domain,
s5r->leho))
{
@@ -2040,6 +2041,20 @@ create_response (void *cls,
CURLOPT_WRITEDATA,
s5r);
}
+ else if (0 == strcasecmp (meth,
+ MHD_HTTP_METHOD_DELETE))
+ {
+ s5r->state = SOCKS5_SOCKET_DOWNLOAD_STARTED;
+ curl_easy_setopt (s5r->curl,
+ CURLOPT_CUSTOMREQUEST,
+ "DELETE");
+ curl_easy_setopt (s5r->curl,
+ CURLOPT_WRITEFUNCTION,
+ &curl_download_cb);
+ curl_easy_setopt (s5r->curl,
+ CURLOPT_WRITEDATA,
+ s5r);
+ }
else
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
--
To stop receiving notification emails like this one, please contact
address@hidden