MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / enableSessionCache

Method enableSessionCache

base/poco/NetSSL_OpenSSL/src/Context.cpp:335–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333
334
335void Context::enableSessionCache(bool flag)
336{
337 if (flag)
338 {
339 SSL_CTX_set_session_cache_mode(_pSSLContext, isForServerUse() ? SSL_SESS_CACHE_SERVER : SSL_SESS_CACHE_CLIENT);
340 }
341 else
342 {
343 SSL_CTX_set_session_cache_mode(_pSSLContext, SSL_SESS_CACHE_OFF);
344 }
345}
346
347
348void Context::enableSessionCache(bool flag, const std::string& sessionIdContext)

Callers 2

initDefaultContextMethod · 0.80
getSslContextProviderFunction · 0.80

Calls 2

lengthMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected