projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8996a73
)
Lachlan O'Dea fixed a resume problem: "If I set CURLOPT_RESUME_FROM, perform
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 9 Oct 2003 20:04:47 +0000
(20:04 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 9 Oct 2003 20:04:47 +0000
(20:04 +0000)
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
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
12abbb2
..
435e6b3
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-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! */