cURL / Mailing Lists / curl-library / Single Mail


Re: connection pooling?

From: rick vaillancourt <>
Date: Tue, 08 Jan 2002 10:13:12 -0500

Hi Daniel-

maybe this doesn't make sense...

I have a C++ service that wants to make a url call to get some data from
another service...

I figured rather than incuring the hit of init every time, I could go at a
cached curl_handle?

I was thinking of creating some kind of factory class that had like 10
init'd curl_handles and a state flag available/notavailable.

C++ service asks factory for first available curl_handle and makes the call.

I wanted to check if someone had something like that out there already.


>From: Daniel Stenberg <>
>To: rick vaillancourt <>
>CC: libcurl Mailing list <>
>Subject: Re: connection pooling?
>Date: Tue, 8 Jan 2002 01:40:42 +0100 (MET)
>On Mon, 7 Jan 2002, rick vaillancourt wrote:
> > The doco from curl_easy_perform() promotes yet cautions against
> > use of curl instance returned from curl_easy_init().
>It promotes repeated, serial, uses. It cautions against simultaneous uses.
> > Is there any supporting code out there for pooling connections?
>Pooling connections in what way? I don't think I understand what that
> Daniel Stenberg -- curl groks URLs --

Join the world’s largest e-mail service with MSN Hotmail.
Received on 2002-01-08