cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: limits of independent curl connections

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 18 Feb 2013 20:42:22 +0100

On Mon, Feb 18, 2013 at 11:35:16AM -0600, Tom K. wrote:
> I have an app that sends via libcurl on a background thread. I run
> 200 of this app on a windows7 machine. They aren't all sending at
> once, though the producer thread is waking on frame intervals, so its
> possible that many try and do work at the same time.
>
> When the endpoint is reliable, this all works fine. When it is not
> reliable, it will lock up the system. Not immediately, though usually
> within 10 minutes or so. I am testing using netcat as a server on
> another box a few feet away. netcat is busy most of the time, so lots
> of messages timeout.

Have you read and followed
http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading ?

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-18