MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / ~SSLClient

Method ~SSLClient

external/httplib.h:9221–9227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9219}
9220
9221inline SSLClient::~SSLClient() {
9222 if (ctx_) { SSL_CTX_free(ctx_); }
9223 // Make sure to shut down SSL since shutdown_ssl will resolve to the
9224 // base function rather than the derived function once we get to the
9225 // base class destructor, and won't free the SSL (causing a leak).
9226 shutdown_ssl_impl(socket_, true);
9227}
9228
9229inline bool SSLClient::is_valid() const { return ctx_; }
9230

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected