Commit graph

15 commits

Author SHA1 Message Date
Matthew Wild
ab40a27df1 TLS: Handshake works, no data after that 2008-10-05 17:33:38 +01:00
Matthew Wild
88af2ea6e9 Session destruction fixes, some debugging code while we fix the rest. Also change logger to be more useful. 2008-10-04 15:25:54 +01:00
Matthew Wild
0f8ba47525 New "import" module to help tidy up all the local declarations at the top of modules 2008-10-04 02:43:23 +01:00
Matthew Wild
6db3d039b3 SASL!
(but before you get too excited, no resource binding yet. And yes, there are still plenty of rough edges to the code...)
((eg. must move <stream:features> out of xmlhandlers.lua o_O ))
2008-10-02 01:08:58 +01:00
Matthew Wild
f1cc4eb60f Removed unused functions from main.lua 2008-10-02 00:00:35 +01:00
Matthew Wild
daf001eded Moved hosts to a config file, still need better config though 2008-10-01 22:11:28 +01:00
Waqas Hussain
dc52dac158 Fixed: Session data was never removed from sessions list 2008-10-01 18:47:07 +05:00
Matthew Wild
c0f26c28d0 Let modules set/write globals 2008-10-01 01:18:19 +01:00
Matthew Wild
a53395e6b7 Huge commit to:
* Break stanza routing (to be restored in a future commit)
* Remove the old stanza_dispatcher code, which was never going to be maintainable nor extendable :)
* Bring us plugins, starting with mod_legacyauth and mod_roster
* Sessions are now created/destroyed using a standard sessionmanager interface
2008-09-30 19:52:00 +01:00
Matthew Wild
42051336dc Remove some debugging messages
Connection now closed on error
Removed version='1.0' to keep it working with non-SASL
2008-08-26 16:57:00 +01:00
Matthew Wild
5f1085df7e Beginning of new routing logic 2008-08-26 13:14:43 +01:00
Matthew Wild
0dadc00f7e Moved server module to net/
also added note on licensing of that module
2008-08-25 16:46:05 +01:00
Matthew Wild
6e36f98b3c Remove redundant comments 2008-08-25 02:10:50 +01:00
Matthew Wild
1a138d2e57 - Remove some debugging code
- Don't allow stanzas to be sent before successful auth (needs further review)
- Make init_xmlhandlers local
- Fix indentation in main.lua
- Fix disconnect logic (it broke if client disconnected before auth, etc.)
2008-08-24 22:48:27 +01:00
matthew
5ea14b6295 Added all the files to please hg :/ 2008-08-24 18:01:20 +01:00