MCPcopy Create free account
hub / github.com/apache/thrift / ~TSSLSocketFactory

Method ~TSSLSocketFactory

lib/cpp/src/thrift/transport/TSSLSocket.cpp:899–907  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

897}
898
899TSSLSocketFactory::~TSSLSocketFactory() {
900 Guard guard(mutex_);
901 ctx_.reset();
902 count_--;
903 if (count_ == 0 && didWeInitializeOpenSSL_) {
904 cleanupOpenSSL();
905 didWeInitializeOpenSSL_ = false;
906 }
907}
908
909std::shared_ptr<TSSLSocket> TSSLSocketFactory::createSocket() {
910 std::shared_ptr<TSSLSocket> ssl(new TSSLSocket(ctx_));

Callers

nothing calls this directly

Calls 2

cleanupOpenSSLFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected