From 4f8e1e58427147b7a9a784639e2170d34c5d3221 Mon Sep 17 00:00:00 2001 From: fujuntang <fujuntang@smartai.com> Date: 星期五, 19 十一月 2021 16:09:35 +0800 Subject: [PATCH] Optimize the logic to avoid the possible issue. --- src/net/net_mod_socket.cpp | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/net/net_mod_socket.cpp b/src/net/net_mod_socket.cpp index c48c33b..acd9053 100644 --- a/src/net/net_mod_socket.cpp +++ b/src/net/net_mod_socket.cpp @@ -121,7 +121,6 @@ if (mpool == NULL) { /* If first call from this thread, allocate buffer for thread, and save its location */ - logger->debug("Create connPool"); mpool = new NetConnPool(); if (mpool == NULL) { LoggerFactory::getLogger()->error(errno, "NetModSocket::_sendandrecv_ malloc"); -- Gitblit v1.8.0