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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    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

Feedback: Report problem or ask question.