cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Flag to know if the curl object used a previously opened connection

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 11 Oct 2004 19:30:09 +0200 (CEST)

On Mon, 11 Oct 2004, Guillaume Arluison wrote:

> And well if there is no easy way to do this, may I kindly ask to add a
> boolean CURLINFO_REUSED_CONNECTION in curl_easy_getinfo that returns if it
> uses or not a previously opened connection ?

I think this sounds like the only sane and reliable way to retrieve this info.
And yes, I would accept a patch that introduces this.

> I can try to spend some time on the code to propose a patch if you need.

Please do!

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-10-11