| 7674 | |
| 7675 | template <typename T> |
| 7676 | inline bool process_server_socket_ssl( |
| 7677 | const std::atomic<socket_t> &svr_sock, SSL *ssl, socket_t sock, |
| 7678 | size_t keep_alive_max_count, time_t keep_alive_timeout_sec, |
| 7679 | time_t read_timeout_sec, time_t read_timeout_usec, time_t write_timeout_sec, |
| 7680 | time_t write_timeout_usec, T callback) { |
| 7681 | return process_server_socket_core( |
| 7682 | svr_sock, sock, keep_alive_max_count, keep_alive_timeout_sec, |
| 7683 | [&](bool close_connection, bool &connection_closed) { |
| 7684 | SSLSocketStream strm(sock, ssl, read_timeout_sec, read_timeout_usec, |
| 7685 | write_timeout_sec, write_timeout_usec); |
| 7686 | return callback(strm, close_connection, connection_closed); |
| 7687 | }); |
| 7688 | } |
| 7689 | |
| 7690 | template <typename T> |
| 7691 | inline bool |
no test coverage detected