aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* Comments and logging fixesMatthew Wild2008-11-191-14/+0
|
* Send version=1.0 again in s2s stream headerMatthew Wild2008-11-191-1/+1
|
* Fix for setting the correct host on the socket, seems to fix s2s with XCPMatthew Wild2008-11-191-1/+1
|
* Don't send version 1.0. Who cares about Gmail?Matthew Wild2008-11-191-1/+1
|
* Send version=1.0 in s2s stream header. Send s2s stream:features when in 1.0 ↵Matthew Wild2008-11-191-12/+17
| | | | mode.
* Don't attempt to auth connection unless stanzas are being sent across itMatthew Wild2008-11-191-1/+1
|
* Log sent s2s stanzasMatthew Wild2008-11-191-4/+6
|
* We have SRV resolving \o/Matthew Wild2008-11-181-6/+28
|
* session:disconnect() -> session:close() for consistency with other Lua APIsMatthew Wild2008-11-181-3/+1
|
* Quite some changes, to:Matthew Wild2008-11-181-1/+10
| | | | | | | | - Small logging fix for s2smanager - Send a stream error if an incoming s2s connection is to an unrecognised hostname (fixes #11) - init_xmlhandlers now takes a table of callbacks (includes changes to net/xmpp*_listener for this) - Move sending of unavailable presence to where it should be, sessionmanager.destroy_session - Fix sending of stream errors to wrong connection
* Fixed s2s manager's send queue to not store recieved stanza objects (as ↵Waqas Hussain2008-11-171-0/+1
| | | | these can chnage after the send call)
* Log how many queued stanzas we sendWaqas Hussain2008-11-151-1/+1
|
* Update hostname for identi.caMatthew Wild2008-11-141-1/+1
|
* Remove some old unused (and empty) functions from s2smanagerMatthew Wild2008-11-141-7/+0
|
* Now outgoing s2s sessions are associated with their from_host, fixes #15Matthew Wild2008-11-141-7/+7
|
* Some more logging fixesMatthew Wild2008-11-141-4/+3
|
* Yep, s2s definitely works now. This is just a small fix for logging...Matthew Wild2008-11-141-1/+1
|
* I knew it ;) Fix sending error replies over s2s (though we shouldn't be ↵Matthew Wild2008-11-141-1/+1
| | | | error'ing on stream:features anyway)
* Print out the stanza alsoMatthew Wild2008-11-141-1/+2
|
* Fix for detecting when we are routing a stanza to ourself (I'm sure this has ↵Matthew Wild2008-11-141-0/+4
| | | | something to do with you, waqas...)
* Another small fix, for logging in s2smanagerMatthew Wild2008-11-141-1/+4
|
* Another small fix, for logging in s2smanagerMatthew Wild2008-11-141-1/+1
|
* Mmm, s2s fixed :)Matthew Wild2008-11-141-1/+1
|
* Missed importing a function in last commitMatthew Wild2008-11-131-0/+2
|
* Change sending reply stream header to use top_tag()Matthew Wild2008-11-131-1/+1
|
* Some s2s fixes. Now connect() does not block, and stanzas are not lost when ↵Matthew Wild2008-11-121-16/+25
| | | | connection is slow
* Move some code about so that we don't leave connections hanging if they hit ↵Matthew Wild2008-11-091-4/+6
| | | | the connection timeout
* Prevent slow connects for s2s from blocking for so longMatthew Wild2008-11-091-0/+1
|
* Fix some very misleading loggingMatthew Wild2008-11-081-1/+1
|
* Just committing this warning, because I want to know if the problem really ↵Matthew Wild2008-11-081-1/+3
| | | | affects us
* Added resource priority handling, etcWaqas Hussain2008-11-021-1/+1
|
* Fix s2s once and for allMatthew Wild2008-11-011-1/+0
| | | | | | | - Moved dialback to the new mod_dialback (mostly). - Modules can now supply a list of origins to handle to add_handler - Modules can now handle and process any stanza, overriding the core - Modules handle non-jabber:client/jabber:server xmlns'd stanzas
* General fixes for s2s, to make it more robust (I hope), sending data to ↵Matthew Wild2008-11-011-19/+37
| | | | remote hosts sane (s2ssession.send() works as expected), recycle outgoing dialback connections, etc.
* sends2s -> s2s_session.send(), s2s_session.send() -> s2s_session.sends2s()Matthew Wild2008-10-301-7/+14
| | | | Should fix outward routing problems.
* Better logging of s2s connectionsMatthew Wild2008-10-261-1/+2
|
* Little tweak for more useful logging of closed s2s sessionsMatthew Wild2008-10-261-1/+1
|
* Remove misleading log message regarding s2s/dialbackMatthew Wild2008-10-251-5/+0
|
* other half of previous commitMatthew Wild2008-10-241-0/+14
|
* Remove some overly-verbose debug log outputMatthew Wild2008-10-241-1/+0
|
* Destroy s2s sendqueue when connection is established successfully and data ↵Matthew Wild2008-10-241-1/+3
| | | | written
* Hack until we get SRV resolvingMatthew Wild2008-10-241-0/+3
|
* Partial s2s commitMatthew Wild2008-10-241-0/+178