From 0c4748cdeb4b9f4c36f4222ccc1652d4d486cb0c Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期三, 02 十二月 2020 11:07:31 +0800
Subject: [PATCH] uddate

---
 src/socket/net_mod_server_socket.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/socket/net_mod_server_socket.c b/src/socket/net_mod_server_socket.c
index a7d6fa1..7924421 100644
--- a/src/socket/net_mod_server_socket.c
+++ b/src/socket/net_mod_server_socket.c
@@ -140,7 +140,7 @@
   request_head = NetModSocket::decode_request_head(request_head_bs);
   
 // printf("server received request from host = %s:%d, key = %d, timeout=%d,\n", 
-  request_head.host, request_head.port , request_head.key, request_head.timeout);
+//   request_head.host, request_head.port , request_head.key, request_head.timeout);
 
   if(request_head.content_length > max_buf) {
    
@@ -226,7 +226,7 @@
     if (rio_readn(connfd, topic_buf, request_head.topic_length) != request_head.topic_length ) {
       return -1;
     }
-LoggerFactory::getLogger()->debug("====server pub %s===\n", buf);
+// LoggerFactory::getLogger()->debug("====server pub %s===\n", buf);
     memcpy(response_head.host, request_head.host, NI_MAXHOST);
     response_head.port = request_head.port;
     response_head.key = request_head.key;

--
Gitblit v1.8.0