diff options
author | Kim Alvefur <zash@zash.se> | 2013-07-22 18:17:30 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-07-22 18:17:30 +0200 |
commit | 4b01c2691b2d731c7cf9a60d063010515ad731de (patch) | |
tree | c365ca6f7577eae25d33a4a4d44678f4900a073c /net | |
parent | 74b83382abc15225f5a3e222b26058c459a7b805 (diff) | |
download | prosody-4b01c2691b2d731c7cf9a60d063010515ad731de.tar.gz prosody-4b01c2691b2d731c7cf9a60d063010515ad731de.zip |
net.server_event: Pass ondrain handler from listener
Diffstat (limited to 'net')
-rw-r--r-- | net/server_event.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 |