Fix handshake bug, close connection after handshake failed

This commit is contained in:
Morteza Bashsiz committed 2026-06-04 23:36:15 +02:00
1 parent 2540b3a504
commit 4cdc66bdf1
1 file changed
+1
+1
View File
@@ -102,6 +102,7 @@ bool TCPConnection::doHandshakeServer() {
cancelTimeout();
log_->write("[" + to_string(uuid_) + "] [TCPConnection doHandshakeServer] " + error.what(),
Log::Level::ERROR);
socketShutdown();
return false;
}
}