Commit Graph

82 Commits (a00a7f76bc8bbc8a0174bfda7b7962e981e984df)

Author SHA1 Message Date
Waqas Hussain 9dd8d35ae8 sessionmanager: Added resource prepping, and invalid resource checking to the bind_resource function. 16 years ago
Matthew Wild f5afdcb564 core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls 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
Matthew Wild ecb81f3ad2 sessionmanager: Use : syntax for calling connection methods 16 years ago
Paul Aurich 1a9c9dd936 sessionmanager: Mark client streams as opened sooner to avoid wrapping errors in unnecessary stream tags 16 years ago
Matthew Wild 65aab24c5c sessionmanager: Use UUID for stream ids to clients, no math.random anymore :) 16 years ago
Matthew Wild 58c524a536 sessionmanager: Add c2s_timeout option for unauthenticated client connections 16 years ago
Matthew Wild 4f3a0bf66d core.sessionmanager, xmppclient_listener: Move responsibility for setting session.log to the former from the latter, much more sensible 17 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Waqas Hussain 44ba02eef0 Moved automatic unavailable presence generation on disconnect from sessionmanager to mod_presence 17 years ago
Waqas Hussain 0d65c3fef7 sessionmanager: Replace raw session by an event data table for resource bind/unbind events, allowing extra data 17 years ago
Matthew Wild 18ab4901ef sessionmanager: Reset bare_sessions[user] after resource conflict resolution. Fixes the other stanza gobbling bug \o/ 17 years ago
Matthew Wild 63d405dc25 sessionmanager: Newly created sessions shouldn't have a priority. Fixes one of the stanza-gobbling bugs \o/ 17 years ago
Matthew Wild 3dc21c4fc7 Send xml:lang in stream headers, fixes #78 17 years ago
Waqas Hussain 737636d65a sessionmanager: Fire event on resource unbind 17 years ago
Matthew Wild 04d4fb4a73 sessionmanager: Fire event on resource bind 17 years ago
Waqas Hussain 4b6c2ce142 sessionmanager: It really is username@host, not host@username :) 17 years ago
Matthew Wild d6d2af95bd sessionmanager: It's username@host, not host@username :) 17 years ago
Waqas Hussain 887dc6887b sessionmanager: Removed a redundant check 17 years ago
Waqas Hussain aeeeeb288f sessionmanager: Fixed an old FIXME: A problem caused by an error on an authenticated but unbound session 17 years ago
Waqas Hussain 2424f767f5 sessionmanager: Add/remove sessions from full_sessions and bare_sessions when binding/unbinding sessions 17 years ago
Waqas Hussain 7e142b7818 sessionmanager: Added reference to globals full_sessions and bare_sessions 17 years ago
Waqas Hussain 49147803d3 sessionmanager: Removed reference to global 'sessions' 17 years ago
Matthew Wild 81fedc9a08 sessionmanager, mod_tls: Mark a session as secure when TLS is active 17 years ago
Matthew Wild 18b7e2867c sessionmanager: Miscellaneous logging improvements, changing levels, improving messages and using session loggers where possible 17 years ago
Matthew Wild 921fe046e5 sessionmanager, componentmanager: Fix some wacky indentation (thanks greyback!) 17 years ago
Matthew Wild a27b839551 sessionmanager, s2smanager, mod_component: Send reply </stream:stream> when client closes stream 17 years ago
Matthew Wild 4ec39b859c core.sessionmanager: Hop out of <status> tag so that MUC doesn't insert into the wrong level 17 years ago
Waqas Hussain 3f5c2d0054 Fixed: sessionmanager: Apply nameprep on hostname passed in stream tag (part of issue #57) 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Waqas Hussain 0178275ece Fixed: kick_old resource conflict resolution policy could fail with a backtrace 17 years ago
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago
Matthew Wild f2d020191f 0.2->0.3 17 years ago
Matthew Wild bf3b96204d GPL->MIT! 17 years ago
Matthew Wild c273f4c890 Set session.ip to the IP address of connecting clients 17 years ago
Matthew Wild 450c6ef7fc Remove old debugging line from sessionmanager 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Matthew Wild 753ab68581 Newline at end of file for sessionmanager 17 years ago
Matthew Wild 1fedb0c649 stanza_dispatch = core_process_stanza, fixed for xmpp{client,server} listeners, and sessionmanager for the new syntax 17 years ago
Matthew Wild b3e9fc629c Remove print()s from sessionmanager and s2smanager 17 years ago
Matthew Wild dfeabed19f Add hostmanager, and eventmanager 17 years ago
Matthew Wild c016526d9d Backed out changeset 099d8a102deb (committed too much) 17 years ago
Matthew Wild 0d2b952b61 Add TLS socket to readlist before handshake starts, fixes major slow-down on TLS connections 17 years ago
Matthew Wild 11538c72c6 Added an error log message for this case 17 years ago
Matthew Wild 396d493b18 Quick fix for an issue that needs more looking into 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Waqas Hussain ce81a26989 Added options to limit the number of resources and for handling of resource conflicts 17 years ago
Matthew Wild 5c7ec634b1 Use a stanza for c2s stream features instead of an array of strings. Removes a FIXME. 17 years ago
Matthew Wild 6a333d94d6 Log number of open sessions on session creation 17 years ago