1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

SDavila posted a fix that sets conn->bits.use_range properly when doing

resumed downloads
This commit is contained in:
Daniel Stenberg 2001-06-07 05:59:20 +00:00
parent 0b0bbffa35
commit 5e326014cd

View File

@ -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 */
}