| 185 | } |
| 186 | |
| 187 | void TcpConnection::onError([[maybe_unused]] err_t err) |
| 188 | { |
| 189 | if(ssl != nullptr) { |
| 190 | ssl->close(); |
| 191 | } |
| 192 | debug_tcp_d("connection error: %d", err); |
| 193 | } |
| 194 | |
| 195 | void TcpConnection::onReadyToSendData(TcpConnectionEvent sourceEvent) |
| 196 | { |