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