From: Christian Grothoff Date: Sat, 5 Dec 2009 11:52:01 +0000 (+0000) Subject: support http redirect X-Git-Tag: initial-import-from-subversion-38251~23016 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=63705c35350631082ecf78c88fa9de7e31be878b;p=oweals%2Fgnunet.git support http redirect --- diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c index 8ef5c9895..9a3a31dfe 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);