Commit Graph

101 Commits (41d45e0c64b94de227f048d5f376699dd6041735)

Author SHA1 Message Date
Waqas Hussain c1257c7435 sessionmanager: Change error for reaching resource limit from 'conflict' to 'resource-constraint' during session bind. 16 years ago
Waqas Hussain f77c1fc2d0 sessionmanager: If roster loading fails during resource bind, kick the user with an internal-server-error. 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild fee6a443f9 sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan) 16 years ago
Matthew Wild a76e149c1c sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session 16 years ago
Waqas Hussain 8946ed6f6c sessionmanager: Fire stream-features event using new events API. 16 years ago
Matthew Wild 397105c519 sessionmanager: Fire resource-unbind event after removing session from sessions table 16 years ago
Matthew Wild ef60c36f61 sessionmanager: Whitespace fix 16 years ago
Waqas Hussain 9dd8d35ae8 sessionmanager: Added resource prepping, and invalid resource checking to the bind_resource function. 16 years ago
Matthew Wild 6fc597e709 sessionmanager, s2smanager: Add type of ?2s_destroyed to resting sessions (fixes a logging traceback, thanks Flo) 16 years ago
Matthew Wild 415ac76d28 sessionmanager: Don't re-destroy destroyed sessions 16 years ago
Matthew Wild c42dd4c962 sessionmanager: Return stream error when incoming stream header is missing 'to' attribute 16 years ago
Matthew Wild 8b94f4df25 sessionmanager: Add close method to resting sessions 16 years ago
Matthew Wild 8e4f70c4a2 sessionmanager, s2smanager: Close session on </stream:stream> 16 years ago
Matthew Wild 7b445486a0 sessionmanager, s2smanager: Destroyed sessions are now simply resting (not dead) until they are collected - prevents a whole class of tracebacks 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
Matthew Wild 4a592b5069 sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan) 16 years ago
Matthew Wild 2739ed3948 sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session 16 years ago
Waqas Hussain 909e439525 sessionmanager: Added resource prepping, and invalid resource checking to the bind_resource function. 16 years ago
Matthew Wild 95b463a3ee core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls 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