From 575404af1c8ddad0a6bb9894d74f7a61a0e8f3d1 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 25 Jul 2014 13:53:39 +0100 Subject: net.server_select/event: Switch sender mode to *a when reading, to make sure we get all available data --- net/server_event.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'net/server_event.lua') diff --git a/net/server_event.lua b/net/server_event.lua index 25799640..b05d1688 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -847,6 +847,7 @@ local function link(sender, receiver, buffersize) sender:pause(); end end + sender:set_mode("*a"); end return { -- cgit v1.2.3