aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-12-05 11:52:01 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-12-05 11:52:01 +0000
commit58efd7431da5a04cbb4cab791921fdbcdc91137d (patch)
tree5ccacde5b1cb446fcf81ba32a8121ed306d8f4d2 /src
parent4b6643737e7262a1eeec7fbcb78e20393d4a04b5 (diff)
support http redirect
git-svn-id: https://gnunet.org/svn/gnunet@9701 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src')
-rw-r--r--src/hostlist/hostlist-client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c
index 8ef5c9895d..9a3a31dfef 100644
--- a/src/hostlist/hostlist-client.c
+++ b/src/hostlist/hostlist-client.c
@@ -460,6 +460,8 @@ download_hostlist ()
clean_up ();
return;
}
+ CURL_EASY_SETOPT (curl, CURLOPT_FOLLOWLOCATION, 1);
+ /* no need to abort if the above failed */
CURL_EASY_SETOPT (curl,
CURLOPT_URL,
current_url);