diff --git a/lib/url.c b/lib/url.c index 12abbb2c5..435e6b3d1 100644 --- 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! */