Diff

net/server_event.lua @ 5756:61521ce49aae

Merge 0.9->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 22 Jul 2013 20:29:41 +0200
parent 5625:e67891ad18d6
parent 5755:9a9c2c254412
child 5776:bd0ff8ae98a8
line wrap: on
line diff
--- a/net/server_event.lua	Mon Jul 15 23:43:37 2013 +0100
+++ b/net/server_event.lua	Mon Jul 22 20:29:41 2013 +0200
@@ -485,6 +485,7 @@
 			onincoming = listener.onincoming;  -- will be called when client sends data
 			ontimeout = listener.ontimeout; -- called when fatal socket timeout occurs
 			onreadtimeout = listener.onreadtimeout; -- called when socket inactivity timeout occurs
+			ondrain = listener.ondrain; -- called when writebuffer is empty
 			onstatus = listener.onstatus; -- called for status changes (e.g. of SSL/TLS)
 			eventread = false, eventwrite = false, eventclose = false,
 			eventhandshake = false, eventstarthandshake = false;  -- event handler