| 6586 | inline bool Server::is_valid() const { return true; } |
| 6587 | |
| 6588 | inline bool Server::process_and_close_socket(socket_t sock) { |
| 6589 | auto ret = detail::process_server_socket( |
| 6590 | svr_sock_, sock, keep_alive_max_count_, keep_alive_timeout_sec_, |
| 6591 | read_timeout_sec_, read_timeout_usec_, write_timeout_sec_, |
| 6592 | write_timeout_usec_, |
| 6593 | [this](Stream &strm, bool close_connection, bool &connection_closed) { |
| 6594 | return process_request(strm, close_connection, connection_closed, |
| 6595 | nullptr); |
| 6596 | }); |
| 6597 | |
| 6598 | detail::shutdown_socket(sock); |
| 6599 | detail::close_socket(sock); |
| 6600 | return ret; |
| 6601 | } |
| 6602 | |
| 6603 | // HTTP client implementation |
| 6604 | inline ClientImpl::ClientImpl(const std::string &host) |
nothing calls this directly
no test coverage detected