| 903 | } |
| 904 | |
| 905 | void AsyncHttpClient::disconnect() |
| 906 | { |
| 907 | if (true == m_tcpClient.connected()) |
| 908 | { |
| 909 | LOG_INFO("Disconnecting from %s:%u%s.", m_hostname.c_str(), m_port, m_uri.c_str()); |
| 910 | m_tcpClient.close(); |
| 911 | } |
| 912 | } |
| 913 | |
| 914 | void AsyncHttpClient::abort() |
| 915 | { |