openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetSessionCacheSize()

int32_t HITLS_CFG_SetSessionCacheSize ( HITLS_Config config,
uint32_t  size 
)

Set the maximum number of sessions in the session cache.

参数
config[OUT] Config context.
size[IN] Maximum number of sessions in the cache.
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.