Commit Graph

126 Commits (5c1d94de1b67353da7e2c348379c8a8509a9e66a)

Author SHA1 Message Date
Matthew Wild 18889eae1b sessionmanager, s2smanager: Remove unused imports 13 years ago
Matthew Wild a5e2b65c01 sessionmanager, s2smanager: Remove open_session tracing 13 years ago
Kim Alvefur 1acfdf5914 core.*: Complete removal of all traces of the "core" section and section-related code. 13 years ago
Kim Alvefur 4517552d8b s2smanager: Generate session names used for logging the same way everywhere 13 years ago
Waqas Hussain 55bd98c887 sessionmanager: Log the actual error message when roster loading fails. 13 years ago
Matthew Wild 99fee69edb sessionmanager: Lower 'destroying session' message to 'debug' level (from 'info') 14 years ago
Matthew Wild e89b006f03 Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages 14 years ago
Matthew Wild 360e6eeeeb sessionmanager: Clean up some unused variables and imports 14 years ago
Matthew Wild 5e7ab4f153 sessionmanager: Have session.send() of a retired session return false to indicate failure 14 years ago
Matthew Wild d5fc441c5e sessionmanager: Remove max_resources config option and check, incorrect anyway (thanks Zash) 14 years ago
Matthew Wild b1b28066ba sessionmanager: Require uuid_generate() 14 years ago
Matthew Wild b14f0af41d sessionmanager, mod_c2s: Move timeout logic to mod_c2s 14 years ago
Matthew Wild 13b36f8ded mod_c2s, sessionmanager, xmppclient_listener: Move all c2s network and stream logic into a new module, mod_c2s 14 years ago
Matthew Wild c60f52cc4d sessionmanager: Remove unused reference to modulemanager 14 years ago
Matthew Wild d32ab3e7a8 sessionmanager: Remove dependency on util.import 15 years ago
Waqas Hussain fe3b3eecae sessionmanager: Log reason when destroying a session. 15 years ago
Matthew Wild 4e83c7ddd6 sessionmanager: Fire pre-resource-unbind to allow plugins (such as mod_smacks) to hook and prevent/override session destruction 15 years ago
Matthew Wild 85921c4877 sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202 16 years ago
Matthew Wild 45a5d66455 sessionmanager: Remove dependency on eventmanager 16 years ago
Waqas Hussain bc718af42e sessionmanager: Fixed a traceback on invalid usernames (typo in previous commit). 16 years ago
Waqas Hussain a6d821d5d6 sessionmanager: Moved nodeprep to sessionmanager.make_authenticated. 16 years ago
Matthew Wild 215235bd7c sessionmanager: Rename filters_initialize->initialize_filters 16 years ago
Matthew Wild 828f40f911 sessionmanager: Initialize new sessions for filtering, and add filters for outgoing bytes and stanzas 16 years ago
Waqas Hussain 8abd2f2c24 rostermanager: Correctly clear the bare_sessions table on roster load errors during bind. 16 years ago
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 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 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 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