diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-11-06 02:24:27 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-11-06 02:24:27 +0300 |
commit | 848cdba579f81eda41267ee7e4333ab9db8a594a (patch) | |
tree | 5f8aae23e6cc971184b525b291752c39cb95d413 /http.h | |
parent | 2c78628255b8cc7f0b5d47981acea138db8716d2 (diff) | |
parent | f8117f550b900b0bc93364ecadbed237b0ffe25e (diff) |
Merge branch 'dt/http-range'
A Range: request can be responded with a full response and when
asked properly libcurl knows how to strip the result down to the
requested range. However, we were hand-crafting a range request
and it did not kick in.
* dt/http-range:
http: use off_t to store partial file size
http.c: use CURLOPT_RANGE for range requests
Diffstat (limited to 'http.h')
-rw-r--r-- | http.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -190,7 +190,6 @@ struct http_pack_request { struct packed_git **lst; FILE *packfile; char tmpfile[PATH_MAX]; - struct curl_slist *range_header; struct active_request_slot *slot; }; |