Skip to content

Commit

Permalink
Set compression to what curl was built with
Browse files Browse the repository at this point in the history
  • Loading branch information
cfpp2p committed Feb 2, 2018
1 parent f4a44ca commit db9726d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libtransmission/web.c
Expand Up @@ -259,7 +259,10 @@ createEasy( tr_session * s, struct tr_web * web, struct tr_web_task * task )
if (web->cookie_filename != NULL)
curl_easy_setopt( e, CURLOPT_COOKIEFILE, web->cookie_filename );

curl_easy_setopt( e, CURLOPT_ENCODING, "gzip;q=1.0, deflate, identity" );
curl_easy_setopt( e, CURLOPT_ENCODING, "" );
// Set compression to what curl was built with
// https://github.com/transmission/transmission/pull/495

curl_easy_setopt( e, CURLOPT_FOLLOWLOCATION, 1L );
curl_easy_setopt( e, CURLOPT_MAXREDIRS, (long)s->maxRedirect );
curl_easy_setopt( e, CURLOPT_NOSIGNAL, 1L );
Expand Down

0 comments on commit db9726d

Please sign in to comment.