cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3440542 ] ftp - memleak - reusing an easy handle with multi interface

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 20 Nov 2011 15:23:20 -0800

Bugs item #3440542, was opened at 2011-11-20 15:12
Message generated for change (Comment added) made by gseng
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3440542&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Gokhan Sengun (gseng)
Assigned to: Daniel Stenberg (bagder)
Summary: ftp - memleak - reusing an easy handle with multi interface

Initial Comment:
I am trying to reuse an easy handle with multi interface.

Below loop is run more than once and it creates a memleak.

- Connect to FTP server and get listing of it
- Close the connection with NOBODY, and FORBID_REUSE options

Example source file and stack trace of memleak is attached.

It could be the case that I am misusing something in here. If so please tell.

Thanks..

----------------------------------------------------------------------

>Comment By: Gokhan Sengun (gseng)
Date: 2011-11-20 15:23

Message:
Forgot to mention that the given example is an simplified case of what I am
actually doing.

I am transferring files between the two steps given. So the actual loop
is:

- Connect to FTP server and get listing of it
- Download/Upload files
....
- Close the connection with NOBODY, and FORBID_REUSE options

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3440542&group_id=976
Received on 2011-11-21

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET