summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-03-18 18:05:28 -0400
committerDan McGee <dan@archlinux.org>2011-03-23 03:44:10 -0500
commite29301954c00fbdfe757a033929e71a349b24497 (patch)
tree96194f10441a7c553ad78d586859d2ae3b54d606 /lib/libalpm
parent82fb7a02021f94760fe53da8e09890b19005d129 (diff)
downloadpacman-e29301954c00fbdfe757a033929e71a349b24497.tar.xz
lib/dload.c: don't request compressed transport
The files we transfer are generally compressed already, so this just adds unnecessary overhead. Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/dload.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index 3598e516..2c2c2d73 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -171,7 +171,6 @@ static int curl_download_internal(const char *url, const char *localpath,
curl_easy_reset(handle->curl);
curl_easy_setopt(handle->curl, CURLOPT_URL, url);
curl_easy_setopt(handle->curl, CURLOPT_FAILONERROR, 1L);
- curl_easy_setopt(handle->curl, CURLOPT_ENCODING, "deflate, gzip");
curl_easy_setopt(handle->curl, CURLOPT_CONNECTTIMEOUT, 10L);
curl_easy_setopt(handle->curl, CURLOPT_FILETIME, 1L);
curl_easy_setopt(handle->curl, CURLOPT_NOPROGRESS, 0L);