| 7793 | } |
| 7794 | |
| 7795 | inline 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 | |
| 7808 | inline bool |
| 7809 | SSLClient::process_socket(const Socket &socket, |
nothing calls this directly
no test coverage detected