cURL / Mailing Lists / curl-library / Single Mail

curl-library

running handles become zero for Netradio station

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

Hi,
I`m facing a strange problem when downloading from a particular netradio URL
(http://onair.100fmlive.dk/100fm_live.mp3) 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/9.1.0.3856" -H "Pragma:
no-cache,rate=1.000000" -H "Pragma: xPlayStrm=1" -H "Pragma:
xClientGUID=1822AD50-2C39-55c0-ZYXW-9D3E3CD32549" -H "Connection: Close"
http://onair.100fmlive.dk/100fm_live.mp3 > /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
libidn/1.9
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: IDN IPv6 Largefile NTLM SSL libz

Thanks in advance.

-Shivanand

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-07-12