| 845 | void close() override { closeSocket(); } |
| 846 | |
| 847 | explicit SSLConnection(boost::asio::io_service& io_service, |
| 848 | Reference<ReferencedObject<boost::asio::ssl::context>> context) |
| 849 | : id(nondeterministicRandom()->randomUniqueID()), socket(io_service), ssl_sock(socket, context->mutate()), |
| 850 | sslContext(context), has_trusted_peer(false) {} |
| 851 | |
| 852 | explicit SSLConnection(Reference<ReferencedObject<boost::asio::ssl::context>> context, tcp::socket* existingSocket) |
| 853 | : id(nondeterministicRandom()->randomUniqueID()), socket(std::move(*existingSocket)), |
nothing calls this directly
no test coverage detected