cURL / Mailing Lists / curl-library / Single Mail


Re: Disconnection occurs without any error returned

From: Amr Shahin <>
Date: Wed, 6 Jun 2012 01:40:36 +0300

On Wed, Jun 6, 2012 at 1:39 AM, Amr Shahin <> wrote:

> A code sample would help
> On Wed, Jun 6, 2012 at 12:21 AM, Fadi Kahhaleh <>wrote:
>> 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:
>> Etiquette:
Ooops, sorry for top-posting. Since this has been happening every time i
send to libcurl, any idea how to configure gmail not to do this?

List admin:
Received on 2012-06-06