diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-05-30 21:51:29 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-30 21:51:29 +0900 |
commit | 13e8be95dbcf93f84154695b6a1be9718ff9665b (patch) | |
tree | f0a825371666e59c2525ee443be15481ba92f29f /http.c | |
parent | e47dbece39712567a36a096010c5c1223119f7e3 (diff) | |
parent | eaf6a1b6e9e7ec1dd3c17037efd271e430264975 (diff) | |
download | git-13e8be95dbcf93f84154695b6a1be9718ff9665b.tar.gz |
Merge branch 'bw/remote-curl-compressed-responses'
Our HTTP client code used to advertise that we accept gzip encoding
from the other side; instead, just let cURL library to advertise
and negotiate the best one.
* bw/remote-curl-compressed-responses:
remote-curl: accept compressed responses with protocol v2
remote-curl: accept all encodings supported by curl
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1788,7 +1788,7 @@ static int http_request(const char *url, curl_easy_setopt(slot->curl, CURLOPT_URL, url); curl_easy_setopt(slot->curl, CURLOPT_HTTPHEADER, headers); - curl_easy_setopt(slot->curl, CURLOPT_ENCODING, "gzip"); + curl_easy_setopt(slot->curl, CURLOPT_ENCODING, ""); ret = run_one_slot(slot, &results); |