curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Easy Reuse across Multiple Multi Handles

From: Patrick Schlangen via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 26 Jul 2020 12:50:15 +0200

Hi,

> On 26. Jul 2020, at 12:41, Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se> wrote:
>
> On Thu, 9 Jul 2020, Damon Earp via curl-library wrote:
>
>> After curl_multi_info_read says a request is complete, does the easy handle
>> still hold the connection?
>
> No it doesn't.
>
> When using the multi interface, the pool of connections is held by the multi handle and it gets shared and used by all the easy handles that are added to the multi handles. When a transfer is done, the connection will be help alive (if possible) even if you remove and cleanup an individual easy handle.

that makes me wonder what retrieving the connect time, SSL connection time, name resolving time etc would return when a connection was reused. Do you have any information on that?

Thanks a lot.

Patrick

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-07-26