Matthew Wild
2a2cad9354
Missed importing a function in last commit
2008-11-13 03:56:22 +00:00
Matthew Wild
a37d7db54f
Change sending reply stream header to use top_tag()
2008-11-13 03:48:20 +00:00
Matthew Wild
564fb0420a
Some s2s fixes. Now connect() does not block, and stanzas are not lost when connection is slow
2008-11-12 19:26:08 +00:00
Matthew Wild
074f86605d
Move some code about so that we don't leave connections hanging if they hit the connection timeout
2008-11-09 21:46:42 +00:00
Matthew Wild
a94c596c02
Prevent slow connects for s2s from blocking for so long
2008-11-09 20:14:58 +00:00
Matthew Wild
eafc61c999
Fix some very misleading logging
2008-11-08 20:44:32 +00:00
Matthew Wild
63808314ef
Just committing this warning, because I want to know if the problem really affects us
2008-11-08 20:39:08 +00:00
Waqas Hussain
66ae6ceaa8
Added resource priority handling, etc
2008-11-02 06:36:42 +05:00
Matthew Wild
4851756ca4
Fix s2s once and for all
...
- 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
2008-11-01 21:07:14 +00:00
Matthew Wild
7a2fc45f65
General fixes for s2s, to make it more robust (I hope), sending data to remote hosts sane (s2ssession.send() works as expected), recycle outgoing dialback connections, etc.
2008-11-01 18:28:46 +00:00
Matthew Wild
81ed508227
sends2s -> s2s_session.send(), s2s_session.send() -> s2s_session.sends2s()
...
Should fix outward routing problems.
2008-10-30 21:11:22 +00:00
Matthew Wild
6db0c3f082
Better logging of s2s connections
2008-10-26 14:03:40 +00:00
Matthew Wild
08940b2308
Little tweak for more useful logging of closed s2s sessions
2008-10-26 13:14:14 +00:00
Matthew Wild
599efdf60d
Remove misleading log message regarding s2s/dialback
2008-10-25 18:21:34 +01:00
Matthew Wild
e5e0811552
other half of previous commit
2008-10-24 18:14:40 +01:00
Matthew Wild
f9d8f8970f
Remove some overly-verbose debug log output
2008-10-24 15:33:38 +01:00
Matthew Wild
b3d6f36fb1
Destroy s2s sendqueue when connection is established successfully and data written
2008-10-24 15:32:31 +01:00
Matthew Wild
8f431fdd22
Hack until we get SRV resolving
2008-10-24 14:59:04 +01:00
Matthew Wild
d49ea8a12e
Partial s2s commit
2008-10-24 07:34:13 +01:00