From e29301954c00fbdfe757a033929e71a349b24497 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 18 Mar 2011 18:05:28 -0400 Subject: 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 Signed-off-by: Dan McGee --- lib/libalpm/dload.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/libalpm/dload.c') 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); -- cgit v1.2.3-24-g4f1b