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: libcurl SSL session reuse & connection reuse

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 13 Nov 2020 13:46:17 +0100 (CET)

On Fri, 13 Nov 2020, Alen Loncaric via curl-library wrote:

> The problem is that for this rest calls connections are also added to
> connection cache. Is there a way to prevent this ?

You can set CURLOPT_FRESH_CONNECT to prevent a new transfer from re-using any
existing previous connection and CURLOPT_FORBID_REUSE can be set to prevent
the new transfer's connection to be put into the connection pool for later
re-use by others.

-- 
  / 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-11-13