This is static method, that's why no lock
| 491 | |
| 492 | /// This is static method, that's why no lock |
| 493 | bool SecureSocketImpl::isLocalHost(const std::string& hostName) |
| 494 | { |
| 495 | try |
| 496 | { |
| 497 | SocketAddress addr(hostName, 0); |
| 498 | return addr.host().isLoopback(); |
| 499 | } |
| 500 | catch (Poco::Exception&) |
| 501 | { |
| 502 | return false; |
| 503 | } |
| 504 | } |
| 505 | |
| 506 | |
| 507 | X509* SecureSocketImpl::peerCertificate() const |
nothing calls this directly
no test coverage detected