net.server_event: Remove redundant getid() function

net.server_event: Initial commit of server_event.lua. Don't get too excited, it's not used at all yet, and is still incomplete :)

s2smanager: Fail outgoing s2s connection if hostname does not pass idna_to_ascii(), thanks Flo + waqas

s2smanager: Queue db:verify unless we already sent a db:result (if we had then it can could a dialback deadlock). Also remove some redundant code which could cause a db:result to be sent while still negotiating features (e.g. TLS) and break things. Collectively these fix a 'random' s2s failure (usually with ejabberd for some reason) - resulting in an 'unbound prefix' XML error, or 'ssl handshake failure'. Was this commit message long enough? I think so.

util.sasl: Add COMPAT comment

mod_console: Moved activation of the console port from the main file to mod_console.

prosody.net_activate_ports: Slightly refactored and definition moved to before modules are loaded.

mod_register: Log a debug message when a session's IP is not available.

mod_bosh: Set session.ip for BOSH sessions.

util.sasl: Added compatibility workaround for jwchat sending an encoded trailing '\0' in SASL responses.

(0) -1000 -300 -100 -10 +10 +100 +300 +1000 tip

mercurial