From: Martin Schanzenbach Date: Mon, 29 Aug 2016 19:40:00 +0000 (+0000) Subject: -fix BADF and add encoding filter X-Git-Tag: initial-import-from-subversion-38251~305 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=81f3fb6638d0bd9a130b373824e784b2a88a4b8f;p=oweals%2Fgnunet.git -fix BADF and add encoding filter --- 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; }