curl-library
curl fail after 250 downloads
From: Begun, Yana <YBegun_at_nds.com>
Date: Tue, 1 May 2007 10:32:53 +0300
Date: Tue, 1 May 2007 10:32:53 +0300
Hi,
I have an application that uses curl_easy library to download and upload
files. For each transfer I create it's own curl handle ( and close it
at the end). After about 250 loops, something is going wrong and this is
the message:
getaddrinfo(3) failed for host_name:21
Couldn't resolve host 'host_name'
Closing connection #0
Any idea? What I am doing wrong?
P.S. I can't use the same curl handle, because it is only part of big
multithreaded application.
Thanks,
Yana
Received on 2007-05-01