aboutsummaryrefslogtreecommitdiffstats
path: root/http.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-05-30 21:51:29 +0900
committerJunio C Hamano <gitster@pobox.com>2018-05-30 21:51:29 +0900
commit13e8be95dbcf93f84154695b6a1be9718ff9665b (patch)
treef0a825371666e59c2525ee443be15481ba92f29f /http.c
parente47dbece39712567a36a096010c5c1223119f7e3 (diff)
parenteaf6a1b6e9e7ec1dd3c17037efd271e430264975 (diff)
downloadgit-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.c b/http.c
index deea47411a..b4bfbceaeb 100644
--- a/http.c
+++ b/http.c
@@ -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);