Software /
code /
prosody
Log
net/server_select.lua @ 4980:2e35cfe11835
description | author | age |
---|---|---|
net.server_select: Never call ondisconnect() directly, go via handler:close() or handler:force_close() - fixes cases where ondisconnect() could be called multiple times for the same connection, leading to issues with s2sout retry logic. | Matthew Wild | Sun, 22 Jul 2012 22:12:17 +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 |