| 8153 | } |
| 8154 | |
| 8155 | inline void SSLClient::shutdown_ssl_impl(Socket &socket, |
| 8156 | bool shutdown_gracefully) { |
| 8157 | if (socket.sock == INVALID_SOCKET) { |
| 8158 | assert(socket.ssl == nullptr); |
| 8159 | return; |
| 8160 | } |
| 8161 | if (socket.ssl) { |
| 8162 | detail::ssl_delete(ctx_mutex_, socket.ssl, shutdown_gracefully); |
| 8163 | socket.ssl = nullptr; |
| 8164 | } |
| 8165 | assert(socket.ssl == nullptr); |
| 8166 | } |
| 8167 | |
| 8168 | inline bool |
| 8169 | SSLClient::process_socket(const Socket &socket, |
nothing calls this directly
no test coverage detected