Waqas Hussain
|
9dd8d35ae8
|
sessionmanager: Added resource prepping, and invalid resource checking to the bind_resource function.
|
16 years ago |
Matthew Wild
|
ccf63862c5
|
componentmanager: Add dialback_secret to components to allow s2s to work (thanks Flo)
|
16 years ago |
Matthew Wild
|
4da7be205c
|
configmanager: Add parsers() method to return an array of supported config formats
|
16 years ago |
Matthew Wild
|
0d8ce51b78
|
s2smanager: Split sending of stream header into a :open_stream() method
|
16 years ago |
Matthew Wild
|
801cc75c57
|
s2smanager: Allow new_outgoing() to create sessions without automatically connecting them (set 3rd parameters to false)
|
16 years ago |
Paul Aurich
|
b67695c401
|
s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy.
|
16 years ago |
Matthew Wild
|
4b75f2857c
|
s2smanager, hostmanager: Make dialback secrets per-host
|
16 years ago |
Matthew Wild
|
cddb59f542
|
s2smanager: Trim trailing whitespace
|
16 years ago |
Matthew Wild
|
90a4059638
|
s2smanager: Give reasons to destroy_session in more cases, including when DNS lookup fails
|
16 years ago |
Matthew Wild
|
8c41e63005
|
s2smanager: Send reply stream header only after checking we serve this host (sorry darkrain... :) )
|
16 years ago |
Matthew Wild
|
6aaad6c768
|
Backed out changeset 78c5cb163ea9, to fix another way. Haven't done this for a while :)
|
16 years ago |
Matthew Wild
|
851ac94df2
|
s2smanager: More whitespace
|
16 years ago |
Matthew Wild
|
f81d945625
|
s2smanager: Mark stream as opened sooner, this prevents a duplicated stream header on host-unknown errors (thanks darkrain and his mail server)
|
16 years ago |
Matthew Wild
|
8f271c3a7e
|
s2smanager: Whitespace
|
16 years ago |
Matthew Wild
|
07bddf1ea6
|
s2smanager: Have both destroy_session and bounce_sendq accept a reason string to include in bounced stanzas
|
16 years ago |
Waqas Hussain
|
f742f93609
|
modulemanager: Fire item-removed events on module unload.
|
16 years ago |
Waqas Hussain
|
8495a4cfff
|
modulemanager: Fixed a global access.
|
16 years ago |
Matthew Wild
|
034315b76d
|
componentmanager: Set ssl_ctx[_in] for components correctly, and use global SSL context if available
|
16 years ago |
Paul Aurich
|
d92cd1e697
|
Disable SSLv2 by default, it's known to be insecure.
|
16 years ago |
Matthew Wild
|
44066a0897
|
modulemanager, net.dns: Remove trailing whitespace
|
16 years ago |
Matthew Wild
|
29d4a0246b
|
modulemanager: Fire events module-loaded and module-unloaded, both receive a table with 'module' and 'host' fields, thanks bjc
|
16 years ago |
Waqas Hussain
|
beb6fa2f21
|
core.xmlhandlers: Fixed processing of empty namespaces (which caused an issue with jwchat).
|
16 years ago |
Matthew Wild
|
fb4bbe19bf
|
s2smanager: Allow configuration of the dialback_secret in the config
|
16 years ago |
Matthew Wild
|
c4742ed781
|
s2smanager: Log warning when trying to send a stanza from a host we don't serve, instead of a traceback (thanks stpeter)
|
16 years ago |
Matthew Wild
|
f5afdcb564
|
core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls
|
16 years ago |
Matthew Wild
|
0ccdad92ef
|
modulemanager: New module API methods for getting config options with type conversion, get_option_string, get_option_number, get_option_boolean, get_option_array, get_option_set
|
16 years ago |
Waqas Hussain
|
bb00a63d23
|
sessionmanager: Added function send_to_interested_resources().
|
16 years ago |
Waqas Hussain
|
10d98b6eef
|
sessionmanager: Fixed and cleaned function send_to_available_resources(). The 'to' attribute for presence subscription stanzas is now preserved.
|
16 years ago |
Waqas Hussain
|
b50d8bac6f
|
loggingmanager: Explicitly flush log messages if the __FLUSH_LOG environment variable is defined (workaround for MSVCRT buffering piped output).
|
16 years ago |
Matthew Wild
|
a1efb7e142
|
s2smanager: Fix syntax error introduced in merge
|
16 years ago |
Matthew Wild
|
87edc64c11
|
stanza_router: Don't log full stanzas destined for s2s
|
16 years ago |
Matthew Wild
|
8da42f8d71
|
s2smanager: Update for new net.server API (s2s still doesn't work with libevent for other reasons)
|
16 years ago |
Matthew Wild
|
2b75fe3807
|
objectmanager: Convert to unix line-endings
|
16 years ago |
Matthew Wild
|
ecb81f3ad2
|
sessionmanager: Use : syntax for calling connection methods
|
16 years ago |
Matthew Wild
|
c3ed7fbfce
|
s2smanager: Don't log full stanza when sending outwards
|
16 years ago |
Matthew Wild
|
38dc47caae
|
s2smanager: Don't tostring() the data before sending, sends2s already does this.
|
16 years ago |
Matthew Wild
|
4ffd18797a
|
s2smanager: Fail outgoing s2s connection if hostname does not pass idna_to_ascii(), thanks Flo + waqas
|
16 years ago |
Matthew Wild
|
9d6d5c3913
|
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.
|
16 years ago |
Waqas Hussain
|
316bc45e71
|
Changed separator between attribute names and prefixes from '|' to '\1' (optimization and cleanup).
|
16 years ago |
Waqas Hussain
|
22394b0832
|
componentmanager: Improved logging for stanzas being bounced for unavailable components.
|
16 years ago |
Matthew Wild
|
581c6ab9d1
|
modulemanager: api:get_option(): Handle correctly option values of boolean false, don't assume value unset
|
16 years ago |
Waqas Hussain
|
e9f1949a99
|
rostermanager: Fixed a global access.
|
16 years ago |
Waqas Hussain
|
c3555f641a
|
rostermanager: Refactored roster loading to remove duplicate code.
|
16 years ago |
Waqas Hussain
|
eab91c4f75
|
rostermanager: Log a warning when a self-contact is detected.
|
16 years ago |
Waqas Hussain
|
fefe960849
|
rostermanager: Ensure meta-data entry is present on roster load.
|
16 years ago |
Waqas Hussain
|
a44b6261c9
|
rostermanager: Remove self-contacts from loaded rosters.
|
16 years ago |
Matthew Wild
|
0664ac358a
|
xmlhandlers: Reset state on error or stream close, fixes possible traceback
|
16 years ago |
Waqas Hussain
|
43b59ec6d3
|
usermanager: Removed an unnecessary global access.
|
16 years ago |
Waqas Hussain
|
f3997f036d
|
usermanager: Logged a clear warning when the 'admins' option is not a table.
|
16 years ago |
Waqas Hussain
|
057cf59598
|
usermanager: Changed function is_admin to allow checking for host-specific admins.
|
16 years ago |