| 419 | |
| 420 | |
| 421 | Context::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 | |
| 430 | Context::Ptr SSLManager::setCustomServerContext(const std::string & name, Context::Ptr ctx) |
| 431 | { |
no test coverage detected