Loading lib/file.c +3 −0 Original line number Diff line number Diff line Loading @@ -165,6 +165,9 @@ static CURLcode file_range(struct connectdata *conn) else { /* X-Y */ totalsize = to-from; if(totalsize == CURL_OFF_T_MAX) /* this is too big to increase, so bail out */ return CURLE_RANGE_ERROR; data->req.maxdownload = totalsize + 1; /* include last byte */ data->state.resume_from = from; DEBUGF(infof(data, "RANGE from %" CURL_FORMAT_CURL_OFF_T Loading Loading
lib/file.c +3 −0 Original line number Diff line number Diff line Loading @@ -165,6 +165,9 @@ static CURLcode file_range(struct connectdata *conn) else { /* X-Y */ totalsize = to-from; if(totalsize == CURL_OFF_T_MAX) /* this is too big to increase, so bail out */ return CURLE_RANGE_ERROR; data->req.maxdownload = totalsize + 1; /* include last byte */ data->state.resume_from = from; DEBUGF(infof(data, "RANGE from %" CURL_FORMAT_CURL_OFF_T Loading