[project @ 2004-04-03 14:58:46 by bursa]

Request only gzip compression, since deflate is broken on many servers (see http://www.gzip.org/zlib/zlib_faq, 36).

svn path=/import/netsurf/; revision=712
This commit is contained in:
James Bursa 2004-04-03 14:58:46 +00:00
parent 0a31d736c2
commit c08ffc97c5

View File

@ -143,7 +143,7 @@ void fetch_init(void)
SETOPT(CURLOPT_WRITEFUNCTION, fetch_curl_data);
SETOPT(CURLOPT_HEADERFUNCTION, fetch_curl_header);
SETOPT(CURLOPT_USERAGENT, user_agent);
SETOPT(CURLOPT_ENCODING, "");
SETOPT(CURLOPT_ENCODING, "gzip");
SETOPT(CURLOPT_LOW_SPEED_LIMIT, 1L);
SETOPT(CURLOPT_LOW_SPEED_TIME, 60L);
SETOPT(CURLOPT_NOSIGNAL, 1L);