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 |
sessionmanager: Have session.send() of a retired session return false to indicate failure
|
Matthew Wild |
Sun, 22 Jul 2012 16:50:14 +0100 |
mod_s2s: Make unauthed session timeout a little more aggressive... otherwise it's possible for sessions to slip under the net and never get killed off
|
Matthew Wild |
Sun, 22 Jul 2012 16:45:27 +0100 |
mod_s2s/s2sout.lib: Fix indentation
|
Matthew Wild |
Sun, 22 Jul 2012 16:29:52 +0100 |
Merge 0.9->trunk
|
Matthew Wild |
Sun, 22 Jul 2012 16:17:33 +0100 |