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: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 26 Jul 2020 13:49:34 +0200 (CEST)

On Sun, 26 Jul 2020, Patrick Schlangen wrote:

>> 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?

Those times will figured out and then stored in the easy handle for the later
retrieval so it doesn't matter where the connection goes or doesn't go after
the transfer is done...

-- 
  / daniel.haxx.se | Commercial curl support up to 24x7 is available!
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2020-07-26