cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: file descriptors leak

From: Chih-Chung Chang <jochang_at_gmail.com>
Date: Thu, 7 Oct 2004 20:04:55 +0800

On Thu, 07 Oct 2004 13:59:39 +0200, Bertrand Demiddelaer
<bdemiddelaer_at_denyall.com> wrote:
> Chih-Chung Chang wrote:
> > The following program prints "res=0" at first,
> > but after about 1000 lines it begins to print
> > "res=37" (CURLE_FILE_COULDNT_READ_FILE).
> > It seems each call to curl_easy_perform leaks
> > one file descriptor?
>
> I tested your program against a recent libcurl (daily snapshot 20041004)
> and didn't have this problem.
>
> Which libcurl version do you run ? What's your OS ?

curl 7.12.1 and Linux 2.4.
Received on 2004-10-07