curl-library
Re: Couldn't Connect Error - Address already in use
Date: Wed, 7 Jul 2010 10:57:27 +0200
On Tue, Jul 6, 2010 at 7:10 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> 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.
>
The target server is my own program serving SOAP requests. The client
and the target server are running on the same machine.
I have no errors on the target server.
I will retest using Apache httpd as target server and running the
libcurl program on Linux.
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-07