cURL / Mailing Lists / curl-library / Single Mail

curl-library

Deflate issue?

From: Mark Fletcher <markf_at_bloglines.com>
Date: Tue, 19 Aug 2003 20:55:18 -0700

Hi,

Using 7.10.6, I get a CURLE_WRITE_ERROR for the following url:

http://www.panopticoncentral.net/rss.aspx

I traced it down to Curl_unencode_deflate_write() failing. I can load
the file fine from Mozilla and wget(otherwise I'd just assume that the
site was broken). Here's how my curl is configed:

  curl_easy_setopt( data->curl, CURLOPT_WRITEDATA, data );
  curl_easy_setopt( data->curl, CURLOPT_WRITEFUNCTION, curlData );
  curl_easy_setopt( data->curl, CURLOPT_HEADERFUNCTION, curlHeader );
  curl_easy_setopt( data->curl, CURLOPT_WRITEHEADER, data );
  curl_easy_setopt( data->curl, CURLOPT_FOLLOWLOCATION, 1 );
  curl_easy_setopt( data->curl, CURLOPT_MAXREDIRS, 5 );
  curl_easy_setopt( data->curl, CURLOPT_FAILONERROR, 1 );
  curl_easy_setopt( data->curl, CURLOPT_DNS_CACHE_TIMEOUT, 0 );
  curl_easy_setopt( data->curl, CURLOPT_DNS_USE_GLOBAL_CACHE, 0 );
  curl_easy_setopt( data->curl, CURLOPT_ENCODING, "" );
  curl_easy_setopt( data->curl, CURLOPT_TIMEOUT, 60 );
  curl_easy_setopt( data->curl, CURLOPT_CONNECTTIMEOUT, 60 );

Any suggestions?

Thanks,

Mark

--
Mark Fletcher
Bloglines
http://www.bloglines.com
-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
Received on 2003-08-22