From 81f3fb6638d0bd9a130b373824e784b2a88a4b8f Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Mon, 29 Aug 2016 19:40:00 +0000 Subject: [PATCH] -fix BADF and add encoding filter --- src/gns/gnunet-gns-proxy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c index 44182a30f..af276cb3a 100644 --- a/src/gns/gnunet-gns-proxy.c +++ b/src/gns/gnunet-gns-proxy.c @@ -1438,6 +1438,8 @@ con_val_iter (void *cls, value = s5r->leho; if (0 == strcasecmp (MHD_HTTP_HEADER_CONTENT_LENGTH, key)) return MHD_YES; + if (0 == strcasecmp (MHD_HTTP_HEADER_ACCEPT_ENCODING, key)) + return MHD_YES; GNUNET_asprintf (&hdr, "%s: %s", key, @@ -1810,6 +1812,7 @@ mhd_connection_cb (void *cls, return; } cleanup_s5r (s5r); + curl_download_prepare (); *con_cls = NULL; } -- 2.25.1