summaryrefslogtreecommitdiffstats
path: root/src/activation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/activation.c')
-rw-r--r--src/activation.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/activation.c b/src/activation.c
index 6105071..f96e8b7 100644
--- a/src/activation.c
+++ b/src/activation.c
@@ -1273,6 +1273,7 @@ IDEVICE_ACTIVATION_API idevice_activation_error_t idevice_activation_send_reques
curl_easy_setopt(handle, CURLOPT_HEADERFUNCTION, &idevice_activation_header_callback);
curl_easy_setopt(handle, CURLOPT_URL, request->url);
curl_easy_setopt(handle, CURLOPT_FORBID_REUSE, 1);
+ curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1L);
// enable communication debugging
if (debug_level > 0) {