| 930 | { |
| 931 | transportClose(); |
| 932 | } |
| 933 | connection->readableSocketStream.destroy(); |
| 934 | connection->writableSocketStream.destroy(); |
| 935 | connection->resetTransportStreams(); |
| 936 | if (connection->socket.isValid()) |
| 937 | { |
| 938 | (void)connection->socket.close(); |
| 939 | } |
| 940 | hasOpenConnection = false; |
| 941 | currentProtocol = {}; |
| 942 | currentHost = {}; |
| 943 | currentPort = 0; |
| 944 | webSocketUpgraded = false; |
| 945 | } |
| 946 | |
| 947 | void HttpAsyncClient::fail(Result error) |
nothing calls this directly
no test coverage detected