prevent conflict with SSLClient errors and common other client write errors

This commit is contained in:
Noah Laptop 2019-11-11 15:02:37 -08:00
parent 957e09c3d3
commit 58a551aa38
2 changed files with 6 additions and 7 deletions

View file

@ -109,7 +109,6 @@ int SSLClient::connect(const char *host, uint16_t port) {
m_error("Cannot have two connections at the same time! Please create another SSLClient instance.", func_name);
return -1;
}
m_info("Client not connected, continuing...", func_name);
// reset indexs for saftey
m_write_idx = 0;
// first, if we have a session, check if we're trying to resolve the same host