Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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