diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-10-09 20:04:47 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-10-09 20:04:47 +0000 |
commit | d1a3c9944ee3215d78d644c47768e205fd043990 (patch) | |
tree | a51a02717f84465c49f7e188830ef35f40bbf9ff /lib | |
parent | 8996a7346e893a337197ec3958457df3e10ee359 (diff) |
Lachlan O'Dea fixed a resume problem: "If I set CURLOPT_RESUME_FROM, perform
an HTTP download, then reset CURLOPT_RESUME_FROM to 0, the next download still
has a Range header with a garbage value." bug report #820502
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2935,6 +2935,8 @@ static CURLcode CreateConnection(struct SessionHandle *data, conn->bits.rangestringalloc = TRUE; /* mark range string allocated */ conn->bits.use_range = TRUE; /* enable range download */ } + else + conn->bits.use_range = FALSE; /* disable range download */ *in_connect = conn; /* return this instead! */ |