From 559d43393be7558632d5c4845bf5b9078a39c264 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_select.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'net/server_select.lua') diff --git a/net/server_select.lua b/net/server_select.lua index 4bda3ef0..e8964518 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -705,6 +705,7 @@ local function link(sender, receiver, buffersize) sender:lock_read(true); end end + sender:set_mode("*a"); end ----------------------------------// PUBLIC //-- -- cgit v1.2.3