Software /
code /
prosody
Diff
net/server_event.lua @ 7223:f911f929ca6c
net.server_event: Return true from conn:resume() to indicate success
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 02 Mar 2016 16:30:46 +0100 |
parent | 7222:168d03dd09c7 |
child | 7224:07a4c807a94a |
child | 7384:65abd9d7bf88 |
line wrap: on
line diff
--- a/net/server_event.lua Wed Mar 02 16:30:05 2016 +0100 +++ b/net/server_event.lua Wed Mar 02 16:30:46 2016 +0100 @@ -291,6 +291,7 @@ self:_lock(self.nointerface, false, self.nowriting); if self.readcallback and not self.eventread then self.eventread = addevent( base, self.conn, EV_READ, self.readcallback, cfg.READ_TIMEOUT ); -- register callback + return true; end end