diff --git a/evpp/TcpClient.h b/evpp/TcpClient.h index aa3886526..03301a5ee 100644 --- a/evpp/TcpClient.h +++ b/evpp/TcpClient.h @@ -114,6 +114,7 @@ class TcpClientEventLoopTmpl { } if (connfd < 0) { hloge("createsocket %s:%d return %d!\n", remote_host.c_str(), remote_port, connfd); + startReconnect(); return connfd; } }