diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-06-07 05:59:20 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-06-07 05:59:20 +0000 |
commit | 5e326014cd8afc0a1409b758da738694b482a561 (patch) | |
tree | c1a8abc21f4809c8d7e953a6eccc93ba037b01d8 | |
parent | 0b0bbffa35315b3855bc369208409fa3e5f335ce (diff) |
SDavila posted a fix that sets conn->bits.use_range properly when doing
resumed downloads
-rw-r--r-- | lib/url.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ } |