cURL / Mailing Lists / curl-library / Single Mail


Re: Link between curl_easy handle and connection

From: Isaac Boukris <>
Date: Mon, 7 Mar 2016 10:19:31 +0200


On Mon, Mar 7, 2016 at 1:15 AM, Daniel Stenberg <> wrote:
> On Sun, 6 Mar 2016, Pierre Brico wrote:
>> So my question is: is it possible to link one connection to one CURL
>> handle (no pool usage)?
> In theory it should be fairly easy to have each easy handle use its own
> connection pool, as that is already what libcurl does when using the easy
> interface - there's just no way to tell libcurl to act like that. We've not
> seen users request this before so it hasn't been made possible.

I currently have a similar requirement and I'm testing the approach of
coupling each easy handle with its own multi handle (using
It works ok so far, though I wonder how well it would scale (and you
could still share other stuff, like DNS resolving and TLS sessions via
the share interface).

Isaac B.
List admin:
Received on 2016-03-07