Diff

net/server_select.lua @ 6314:8029b8a5f37a

net.server_select/event: Switch sender mode to *a when reading, to make sure we get all available data
author Matthew Wild <mwild1@gmail.com>
date Fri, 25 Jul 2014 13:53:39 +0100
parent 6047:4db0403bfc0d
child 6315:7a3e2f2d43fc
child 6379:a280bd6ccce2
line wrap: on
line diff
--- a/net/server_select.lua	Fri Jul 25 13:59:17 2014 +0200
+++ b/net/server_select.lua	Fri Jul 25 13:53:39 2014 +0100
@@ -705,6 +705,7 @@
 			sender:lock_read(true);
 		end
 	end
+	sender:set_mode("*a");
 end
 
 ----------------------------------// PUBLIC //--