From de6a3940e70743f6af12aee316871084b084fd49 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 22 Jul 2013 18:17:30 +0200 Subject: net.server_event: Pass ondrain handler from listener --- 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 5eae95a9..e320b15c 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -477,6 +477,7 @@ do ondisconnect = listener.ondisconnect; -- will be called when client disconnects onincoming = listener.onincoming; -- will be called when client sends data ontimeout = listener.ontimeout; -- called when fatal socket 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 -- cgit v1.2.3