Log

description author age
mod_s2s: Don't call ondisconnect manually, don't call conn:close() 3 times (!) and merge its logic and streamdisconnected into session_close - including now waiting for a reply </stream:stream> if there is the chance of further stanzas requiring delivery arriving. session.sends2s() on a half-closed stream returns false. Matthew Wild Sun, 22 Jul 2012 17:07:21 +0100
mod_s2s: Don't treat a stanza as delivered if session.sends2s() returns false Matthew Wild Sun, 22 Jul 2012 17:04:02 +0100
mod_presence: Handle nil disconnection error Matthew Wild Sun, 22 Jul 2012 17:02:18 +0100
mod_iq: Don't treat an iq as handled if session.send() returns false Matthew Wild Sun, 22 Jul 2012 17:01:52 +0100
mod_message: Don't treat a message as delivered ok if session.send() returns false Matthew Wild Sun, 22 Jul 2012 16:59:55 +0100
mod_c2s: Don't call ondisconnect manually on close, it is now called by net.server. Replace with inline code for destroying the session, and also waiting for a reply </stream:stream> if there is a chance of further data sent by the client. session.send() on a half-closed stream returns false (and does not deliver the data). Matthew Wild Sun, 22 Jul 2012 16:59:12 +0100
net.http: Don't call ondisconnect manually, net.server now calls it on close Matthew Wild Sun, 22 Jul 2012 16:54:58 +0100
net.server_select, net.server_event: Change semantics of conn:close() - always call ondisconnect (with err == nil), and never close with data in send buffer (i.e. 'now' parameter removed) Matthew Wild Sun, 22 Jul 2012 16:54:33 +0100