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

Method getCustomServerContext

base/poco/NetSSL_OpenSSL/src/SSLManager.cpp:421–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419
420
421Context::Ptr SSLManager::getCustomServerContext(const std::string & name)
422{
423 Poco::FastMutex::ScopedLock lock(_mutex);
424 auto it = _mapPtrServerContexts.find(name);
425 if (it != _mapPtrServerContexts.end())
426 return it->second;
427 return nullptr;
428}
429
430Context::Ptr SSLManager::setCustomServerContext(const std::string & name, Context::Ptr ctx)
431{

Callers 3

fillDataMethod · 0.80
runMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected