curl-library
RE: FW: Problem reusing ftp connections
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 23 May 2003 13:16:35 +0200 (CEST)
Date: Fri, 23 May 2003 13:16:35 +0200 (CEST)
On Fri, 23 May 2003, Cadime wrote:
> I tried the code against the last version of it and I got the same problem
And the fix for this problem is now available here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/ftp.c.diff?r1=1.181&r2=1.182
I've added two test cases to verify my fix. Your test program also ran fine
without any socket leakage after this fix.
Thanks for the excellent test code!
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforgeReceived on 2003-05-23