From 9a4aa3df1e86495e7f915fc1474a024d4d0e6581 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 9 Jun 2009 15:45:09 +0000 Subject: [PATCH] (trunk libT) #2188 transmission-remote can't parse deflate()d responses --- daemon/remote.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/daemon/remote.c b/daemon/remote.c index a54d76688..26c185266 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -1408,9 +1408,7 @@ tr_curl_easy_init( struct evbuffer * writebuf ) curl_easy_setopt( curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY ); curl_easy_setopt( curl, CURLOPT_TIMEOUT, 60L ); curl_easy_setopt( curl, CURLOPT_VERBOSE, debug ); -#ifdef HAVE_ZLIB - curl_easy_setopt( curl, CURLOPT_ENCODING, "deflate" ); -#endif + curl_easy_setopt( curl, CURLOPT_ENCODING, "" ); /* "" tells curl to fill in the blanks with what it was compiled to support */ if( netrc ) curl_easy_setopt( curl, CURLOPT_NETRC_FILE, netrc ); if( auth )