Kim Alvefur
|
9114e88ee0
|
mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table.
|
14 years ago |
Matthew Wild
|
be56306272
|
mod_s2s: Bump s2s_timeout to 90, to allow for the TCP timeout (in most cases) - this allows us to continue to try other targets
|
14 years ago |
Matthew Wild
|
9931497619
|
mod_c2s, mod_s2s: Lower 'Disconnecting X' log messages from 'info' to 'debug'
|
14 years ago |
Matthew Wild
|
e89b006f03
|
Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages
|
14 years ago |
Matthew Wild
|
0771b51658
|
mod_s2s: Adjust session:close() in line with mod_c2s's - fixes waiting for </stream:stream> if it has already been sent by the peer
|
14 years ago |
Matthew Wild
|
9f24aa6cf8
|
mod_s2s/s2sout.lib: Use %s to insert strings into log messages instead of concatenation
|
14 years ago |
Matthew Wild
|
6aa575f09b
|
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.
|
14 years ago |
Matthew Wild
|
900a0add21
|
mod_s2s: Don't treat a stanza as delivered if session.sends2s() returns false
|
14 years ago |
Matthew Wild
|
2057401904
|
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
|
14 years ago |
Matthew Wild
|
07c9903d58
|
mod_s2s/s2sout.lib: Fix indentation
|
14 years ago |
Matthew Wild
|
fb3b789dca
|
mod_s2s/s2sout.lib: Don't wait for both v4 and v6 DNS responses if we only send one (e.g. because v6 is disabled)
|
14 years ago |
Kim Alvefur
|
e6bf33e872
|
mod_s2s: Remove check for socket.tcp6()
|
14 years ago |
Kim Alvefur
|
bb98bf4a58
|
mod_s2s: Only do AAAA lookup if IPv6 is available, and A if IPv4 is available.
|
14 years ago |
Matthew Wild
|
81cbf8c7d4
|
mod_s2s, s2sout.lib: Send stream header in onconnect()
|
14 years ago |
Matthew Wild
|
417defb2ed
|
mod_s2s: Only try next target if the stream didn't open
|
14 years ago |
Matthew Wild
|
4a958b8611
|
mod_s2s: Remove TODO comment for SASL/TLS on s2s (thanks Florob)
|
14 years ago |
Matthew Wild
|
0b4567a6f1
|
mod_s2s, mod_auth_anonymous, hostmanager: Remove disallow_s2s flag, deprecate the config option of the same name (disable mod_s2s instead), and add 'allow_anonymous_s2s' to separately control s2s for anonymous users
|
14 years ago |
Matthew Wild
|
75d9d9e997
|
mod_s2s, s2smanager, mod_dialback: Move addition of session.send() on s2sin to after they are authenticated (thus from mod_s2s to s2smanager). Update mod_dialback to fire route/remote directly, as session.send() is no longer available for s2sin_unauthed. Fixes #291.
|
14 years ago |
Kim Alvefur
|
3713488b27
|
s2smanager, mod_s2s: Move checking DNS timeout option to mod_s2s
|
14 years ago |
Matthew Wild
|
8128ac8052
|
mod_s2s: Cache to_host and from_host in local variables, and use these instead of repeated lookups
|
14 years ago |
Matthew Wild
|
706676c19a
|
mod_s2s: Add session.send() only to incoming streams, and fire the route/remote event on the host (not global anymore)
|
14 years ago |
Matthew Wild
|
9a9ff378e9
|
mod_s2s: Become a shared module (yay)
|
14 years ago |
Matthew Wild
|
d18c1ff0da
|
Rename plugins/s2s/ to plugins/mod_s2s/
|
14 years ago |