Software /
code /
prosody
Changeset
5755:9a9c2c254412
net.server_event: Pass ondrain handler from listener
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 22 Jul 2013 18:17:30 +0200 |
parents | 5754:dee0f05ccf70 |
children | 5756:61521ce49aae 5757:b5ba004beb0a |
files | net/server_event.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_event.lua Mon Jul 22 17:28:37 2013 +0200 +++ b/net/server_event.lua Mon Jul 22 18:17:30 2013 +0200 @@ -477,6 +477,7 @@ 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