SDavila posted a fix that sets conn->bits.use_range properly when doing
authorDaniel Stenberg <daniel@haxx.se>
Thu, 7 Jun 2001 05:59:20 +0000 (05:59 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Jun 2001 05:59:20 +0000 (05:59 +0000)
resumed downloads

lib/url.c

index 17e4549..bb70cd7 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -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 */
     }