cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Correctly connected to server and not recieving any data

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 7 Jul 2005 13:08:03 +0200 (CEST)

On Wed, 6 Jul 2005, Dennis Lomans wrote:

> I am trying to get a radio strean (file) from a server using curl. The
> connection phase is completed and I am waiting for data. However the data is
> never send by the server. Although I tried various timeout setting
> (CURLOPT_LOW_SPEED_LIMIT with CURLOPT_LOW_SPEED_TIME), curl doesn't give me
> any notice of being idle (no data transfer).

CURLOPT_LOW_SPEED_LIMIT with CURLOPT_LOW_SPEED_TIME is one way.

> How can I get curl to notify me of not recieving any data.

Setup a write and a progress callback and you can figure it out all by
yourself!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-07-07