From 5e326014cd8afc0a1409b758da738694b482a561 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 7 Jun 2001 05:59:20 +0000 Subject: [PATCH] SDavila posted a fix that sets conn->bits.use_range properly when doing resumed downloads --- lib/url.c | 1 + 1 file changed, 1 insertion(+) 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 */ }