aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-07-22 20:29:41 +0200
committerKim Alvefur <zash@zash.se>2013-07-22 20:29:41 +0200
commit935cf8ba76b20eb03b4f6dfa09bfb8e165d2baab (patch)
tree4c9f44f3548eb4deb16319ad3b8c7c4128c6b771 /net/server_event.lua
parente5f6bd8c4cda458ae25900c74b4c751913829dd3 (diff)
parent4b01c2691b2d731c7cf9a60d063010515ad731de (diff)
downloadprosody-935cf8ba76b20eb03b4f6dfa09bfb8e165d2baab.tar.gz
prosody-935cf8ba76b20eb03b4f6dfa09bfb8e165d2baab.zip
Merge 0.9->trunk
Diffstat (limited to 'net/server_event.lua')
-rw-r--r--net/server_event.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index dc48e338..9f479d5b 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -485,6 +485,7 @@ do
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