MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/xstudio / shutdown_ssl_impl

Method shutdown_ssl_impl

extern/include/cpp-httplib/httplib.h:7795–7806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7793}
7794
7795inline void SSLClient::shutdown_ssl_impl(Socket &socket,
7796 bool shutdown_gracefully) {
7797 if (socket.sock == INVALID_SOCKET) {
7798 assert(socket.ssl == nullptr);
7799 return;
7800 }
7801 if (socket.ssl) {
7802 detail::ssl_delete(ctx_mutex_, socket.ssl, shutdown_gracefully);
7803 socket.ssl = nullptr;
7804 }
7805 assert(socket.ssl == nullptr);
7806}
7807
7808inline bool
7809SSLClient::process_socket(const Socket &socket,

Callers

nothing calls this directly

Calls 1

ssl_deleteFunction · 0.85

Tested by

no test coverage detected