| 7633 | } |
| 7634 | |
| 7635 | inline 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 | |
| 7648 | inline bool |
| 7649 | SSLClient::process_socket(const Socket &socket, |
nothing calls this directly
no test coverage detected