cURL / Mailing Lists / curl-library / Single Mail


running handles become zero for Netradio station

From: Shivanand <>
Date: Tue, 12 Jul 2011 15:12:13 +0530

I`m facing a strange problem when downloading from a particular netradio URL
( using libCURL.

The same behavior can be reproduced using the curl command too by following
these steps :
1) Execute the command (on Linux)-
curl -v -H "Accept: */*" -H "User-Agent: NSPlayer/" -H "Pragma:
no-cache,rate=1.000000" -H "Pragma: xPlayStrm=1" -H "Pragma:
xClientGUID=1822AD50-2C39-55c0-ZYXW-9D3E3CD32549" -H "Connection: Close" > /dev/null

2) Plug out network cable. Data download stops

3) After approximately 35 seconds plug it back in

4) Data download resumes briefly and then connection closes (command exits).

While using libCURL from c++ code, the running handles become 0 at step 4.
and download stops.

The URL itself is an infinite URL and hence running handles should never
become 0 for it.
Any idea why this happens ?
For some other netradio URLs, this behaviour is not observed. Download
resumes and proceeds as expected. Is it a server related issue ?

The version of curl I am using is
curl 7.15.5 (i686-suse-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8d zlib/1.2.3
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: IDN IPv6 Largefile NTLM SSL libz

Thanks in advance.


List admin:
Received on 2011-07-12