curl-library
Re: Disconnection occurs without any error returned
Date: Wed, 6 Jun 2012 01:39:36 +0300
A code sample would help
On Wed, Jun 6, 2012 at 12:21 AM, Fadi Kahhaleh <fkahhaleh_at_hotmail.com>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: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-06