| 165 | } |
| 166 | |
| 167 | void do_close() { |
| 168 | beast::error_code error; |
| 169 | if (stream_.socket().shutdown(tcp::socket::shutdown_both, error)) { |
| 170 | LOG(ERROR) << "failed to close http socket: " << error.message(); |
| 171 | } |
| 172 | self_ = nullptr; |
| 173 | } |
| 174 | |
| 175 | void fail(const char *what, beast::error_code ec) { |
| 176 | LOG(ERROR) << "failed http client: " << what << ": " << ec.message(); |
nothing calls this directly
no outgoing calls
no test coverage detected