mirror of
https://github.com/transmission/transmission
synced 2025-02-03 04:53:27 +00:00
(trunk libT) #2188 transmission-remote can't parse deflate()d responses
This commit is contained in:
parent
54a50ed5ad
commit
9a4aa3df1e
1 changed files with 1 additions and 3 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue