| 5752 | inline bool Server::is_valid() const { return true; } |
| 5753 | |
| 5754 | inline bool Server::process_and_close_socket(socket_t sock) { |
| 5755 | auto ret = detail::process_server_socket( |
| 5756 | svr_sock_, sock, keep_alive_max_count_, keep_alive_timeout_sec_, |
| 5757 | read_timeout_sec_, read_timeout_usec_, write_timeout_sec_, |
| 5758 | write_timeout_usec_, |
| 5759 | [this](Stream &strm, bool close_connection, bool &connection_closed) { |
| 5760 | return process_request(strm, close_connection, connection_closed, |
| 5761 | nullptr); |
| 5762 | }); |
| 5763 | |
| 5764 | detail::shutdown_socket(sock); |
| 5765 | detail::close_socket(sock); |
| 5766 | return ret; |
| 5767 | } |
| 5768 | |
| 5769 | // HTTP client implementation |
| 5770 | inline ClientImpl::ClientImpl(const std::string &host) |
nothing calls this directly
no test coverage detected