cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Couldn't Connect Error - Address already in use

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 6 Jul 2010 19:10:18 +0200 (CEST)

On Tue, 6 Jul 2010, Alfred Gebert wrote:

> I am using libcurl 7.19.4 on Windows XP and I want to call a HTTP PUT
> operation around 8000 times. After about 4000 requests curl_easy_perform()
> returns with error 7 (CURLE_COULDNT_CONNECT, Couldn't Connect Error, Address
> already in use).

While the reason sounds a bit strange, it certainly sounds as if you're simply
draining the resources from the target server so that you then can't connect
to it anymore. The error 7 is a failed TCP connection.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-06