diff --git a/lualib/skynet/socket.lua b/lualib/skynet/socket.lua index 4bea10c1..7eadeb1a 100644 --- a/lualib/skynet/socket.lua +++ b/lualib/skynet/socket.lua @@ -27,6 +27,9 @@ local function wakeup(s) end local function pause_socket(s, size) + if s.pause then + return + end if size then skynet.error(string.format("Pause socket (%d) size : %d" , s.id, size)) else