From 5025e6887f9ff3c611e38908197a603d438c3320 Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Thu, 29 Aug 2019 16:21:01 +0800 Subject: [PATCH] fix #1079 --- lualib/skynet/db/mysql.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lualib/skynet/db/mysql.lua b/lualib/skynet/db/mysql.lua index d336e957..a205b746 100644 --- a/lualib/skynet/db/mysql.lua +++ b/lualib/skynet/db/mysql.lua @@ -129,10 +129,6 @@ local function _recv_packet(self,sock) return nil, nil, "empty packet" end - if len > self._max_packet_size then - return nil, nil, "packet size too big: " .. len - end - local num = strbyte(data, pos) self.packet_no = num