cURL / Mailing Lists / curl-library / Single Mail


Disconnection occurs without any error returned

From: Fadi Kahhaleh <>
Date: Tue, 5 Jun 2012 21:21:30 +0000

Hi all, I am running into a very strange problem that is causing me to go into circles!Using LibCurl has been a great experience over all as it is very flexible and easy to use. Now I am running into some issues and it is driving me crazy, one of them which could be libCURL
related or not (hoping that you guys would be able to shed some light on) is the following: I am downloading a video stream from one of our servers and I am getting a close connection debug info with curl Return Code of 0 (ZERO)
for no reason after running for several hours. (this could be 3 hours, 9 hours, and have seen it go to 16 and 24 hours!) What is the best way to go about debugging this issue?if I use VLC, it runs perfectly without problems for 24+ hours and all is good, so it is not the source. I have defined the callback function and I did notice that there is an 8-byte memory leak in there, can't be sure if it is internal or my code, but
i doubt it has something to do with this issue, and will try to iron it out later once I settle this.
Thanks Fadi

List admin:
Received on 2012-06-06