aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 17e4549ff..bb70cd7aa 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2077,6 +2077,7 @@ static CURLcode Connect(struct UrlData *data,
/* tell ourselves to fetch this range */
conn->range = strdup(resumerange);
+ conn->bits.use_range = TRUE; /* enable range download */
conn->bits.rangestringalloc = TRUE; /* mark range string allocated */
}