diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-02-18 15:50:49 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-02-18 15:50:49 +0100 |
commit | 3b4d761f3b953367bc676354088af74468e791ab (patch) | |
tree | 9ad502dcd6fa0aeaae913fe3cf3556442e52280b | |
parent | 62e8c183902d7d7b7535c247f750aa8a37d6365a (diff) |
Addressing https://bugs.gnunet.org/view.php?id=5232#c13251
-rw-r--r-- | src/lib/exchange_api_curl_defaults.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/exchange_api_curl_defaults.c b/src/lib/exchange_api_curl_defaults.c index 45aa36b9f..1a25e564e 100644 --- a/src/lib/exchange_api_curl_defaults.c +++ b/src/lib/exchange_api_curl_defaults.c @@ -44,6 +44,11 @@ TEL_curl_easy_get (const char *url) curl_easy_setopt (eh, CURLOPT_ENCODING, "deflate")); + + GNUNET_assert (CURLE_OK == + curl_easy_setopt (eh, + CURLOPT_FOLLOWLOCATION, + 1L)); #ifdef CURLOPT_TCP_FASTOPEN GNUNET_assert (CURLE_OK == curl_easy_setopt (eh, |