mirror of
https://github.com/curl/curl.git
synced 2026-06-03 11:24:16 +03:00
SDavila posted a fix that sets conn->bits.use_range properly when doing
resumed downloads
This commit is contained in:
parent
0b0bbffa35
commit
5e326014cd
1 changed files with 1 additions and 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 */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue