Commit Graph

46 Commits (8b979ccaf40ae38dbeaa5e7a4edb2e6d760fdffa)

Author SHA1 Message Date
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
Matthew Wild 8b041f3cdb Fix sending of unavailable presence on disconnect 17 years ago
Matthew Wild 99b617b8b6 session:disconnect() -> session:close() for consistency with other Lua APIs 17 years ago
Matthew Wild 64e57b5001 Remove useless check for unavailable presence (which never exists) 17 years ago
Matthew Wild 01c770997f Quite some changes, to: 17 years ago
Matthew Wild f21f55bb1e Allow us to close client connections, with or without a stream error. Partially fixes #8, we still need the same for s2s (though it should be almost a straight copy of the code, I'm too tired atm) 17 years ago
Waqas Hussain b0bfd62708 Removed unused function send_to_session from sessionmanager (send_to_session replaced by session.send) 17 years ago
Waqas Hussain 97bf43fe7a Fixed sessionmanager to not send session in place of stream features... 17 years ago
Waqas Hussain 0fbd257633 Fixed sessionmanager to use appropriate method for sending stream features 17 years ago
Waqas Hussain 49ab3af442 Code cleanup for resource binding 17 years ago
Waqas Hussain 091e961c40 Outbound presence subscription 17 years ago
Waqas Hussain 30de434801 Routing code reorganization 17 years ago
Matthew Wild 0aade7cf5f Fix for sessionmanager to not throw error when session doesn't have a private logger 17 years ago
Matthew Wild d49ea8a12e Partial s2s commit 17 years ago
Matthew Wild 5c90ffdf7e s2s works! \o/ \o/ 17 years ago
Matthew Wild eb8e9997e0 dialback keys now verified 17 years ago
Matthew Wild dba8f998cf Final fix for marking user offline when all resources are gone :) 17 years ago
Matthew Wild 3286f0609f even faster checking for other sessions... thank you waqas :) 17 years ago
Matthew Wild 9e6c3919af faster checking for other sessions 17 years ago
Matthew Wild ff0fe0544a Fix for not destroying sessions when connection closed. 17 years ago
Matthew Wild ee7b432ab1 Abstract connections with "connection listeners" 17 years ago
Waqas Hussain fa8d0e13a3 Added: TODO 17 years ago
Waqas Hussain 957fe047e2 Added some roster management functions 17 years ago
Waqas Hussain e00ee96830 Load roster on resource bind 17 years ago
Matthew Wild 5239107016 Fix setting resource before we even know what it is 18 years ago
Matthew Wild 88af2ea6e9 Session destruction fixes, some debugging code while we fix the rest. Also change logger to be more useful. 18 years ago
Matthew Wild 0f8ba47525 New "import" module to help tidy up all the local declarations at the top of modules 18 years ago
Matthew Wild f6924a64c0 Add "uuid" library and make sessionmanager use this. 18 years ago
Matthew Wild c0f3a8153a An oops in sessionmanager stream:features code :) 18 years ago
Matthew Wild 6c2578d43b Move stream opening handling from xmlhandlers to sessionmanager 18 years ago
Matthew Wild 6db3d039b3 SASL! 18 years ago
Matthew Wild a53395e6b7 Huge commit to: 18 years ago