From 63705c35350631082ecf78c88fa9de7e31be878b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 5 Dec 2009 11:52:01 +0000 Subject: [PATCH] support http redirect --- src/hostlist/hostlist-client.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.25.1