MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / shutdown_ssl_impl

Method shutdown_ssl_impl

dependencies/httplib/httplib.h:7635–7646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7633}
7634
7635inline void SSLClient::shutdown_ssl_impl(Socket &socket,
7636 bool shutdown_gracefully) {
7637 if (socket.sock == INVALID_SOCKET) {
7638 assert(socket.ssl == nullptr);
7639 return;
7640 }
7641 if (socket.ssl) {
7642 detail::ssl_delete(ctx_mutex_, socket.ssl, shutdown_gracefully);
7643 socket.ssl = nullptr;
7644 }
7645 assert(socket.ssl == nullptr);
7646}
7647
7648inline bool
7649SSLClient::process_socket(const Socket &socket,

Callers

nothing calls this directly

Calls 1

ssl_deleteFunction · 0.85

Tested by

no test coverage detected