aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-06-07 05:59:20 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-06-07 05:59:20 +0000
commit5e326014cd8afc0a1409b758da738694b482a561 (patch)
treec1a8abc21f4809c8d7e953a6eccc93ba037b01d8
parent0b0bbffa35315b3855bc369208409fa3e5f335ce (diff)
SDavila posted a fix that sets conn->bits.use_range properly when doing
resumed downloads
-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 */
}