Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

CURL.SetOptionSSLSessionIDCache

Controls SSL session-ID caching.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionSSLSessionIDCache"; curl; Value )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value Whether to cache session IDs. 1

Result

Returns "OK" on success.

Description

Controls SSL session-ID caching.
Set to 0 to disable cache. Set this to 1 to enable it. By default all transfers are done using the cache. While nothing ever should get hurt by attempting to reuse SSL session-IDs, there seem to be broken SSL implementations in the wild that may require you to disable this in order for you to succeed.

See also SSL_SESSIONID_CACHE option in CURL manual.

See also

Created 18th August 2014, last changed 18th August 2014


CURL.SetOptionSSLOptions - CURL.SetOptionSSLVerifyHost

💬 Ask a question or report a problem