Commit Graph

13 Commits (28dfdedc653bd2977eb60e84e2f582e07eb37708)

Author SHA1 Message Date
Kim Alvefur 9114e88ee0 mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table. 14 years ago
Matthew Wild 9931497619 mod_c2s, mod_s2s: Lower 'Disconnecting X' log messages from 'info' to 'debug' 14 years ago
Matthew Wild bac46c9935 mod_c2s: Change 'reason' parameter of session:close() to take nil to mean 'graceful close initiated by us' and false for 'graceful close initiated by client' 14 years ago
Matthew Wild 3424d79abb mod_c2s: Don't call ondisconnect manually on close, it is now called by net.server. Replace with inline code for destroying the session, and also waiting for a reply </stream:stream> if there is a chance of further data sent by the client. session.send() on a half-closed stream returns false (and does not deliver the data). 14 years ago
Matthew Wild 6e0cfc7267 mod_c2s: Another lurking string.format squashed. 14 years ago
Matthew Wild 246e8535c1 mod_c2s: Remove unused import of portmanager 14 years ago
Kim Alvefur 8a4a259bde mod_c2s: Add missing multiplexed service discovery pattern. 14 years ago
Matthew Wild fdd0bb03e8 mod_c2s, mod_s2s: Drop default_port and default_mode from listener objects (default_port is deprecated, and default_mode already defaults to *a) 14 years ago
Matthew Wild 99096dfa23 mod_c2s, mod_s2s: Add multiplex support 14 years ago
Matthew Wild 107458131f mod_c2s: Use module:add_item() to add the net-provider for portmanager 14 years ago
Matthew Wild 5c1ba3bb13 mod_c2s: Code reduction 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
Waqas Hussain fb1317e021 net.xmppclient_listener: Imports and global cleanup. 15 years ago
Waqas Hussain 47045ad745 net.xmppclient_listener: Imports and global cleanup. 15 years ago
Waqas Hussain ecaf8a5959 net.xmpp{client,server,component}_listener: s/xml-not-well-formed/not-well-formed/ as per latest bis drafts. 15 years ago
Matthew Wild cec141b21c net.xmppclient_listener: Add associate_session(conn, session) to change the session a connection is associated with 16 years ago
Matthew Wild 91a3910031 xmpp{client,server}_listener: Convert some calls to tail calls for efficiency 16 years ago
Matthew Wild ec41e71baa xmpp{client,server}_listener: Put stanzas/in filtering code in the correct place to make it actually work :) 16 years ago
Matthew Wild e9448c71ce xmppclient_listener: Add filters for incoming bytes and stanzas 16 years ago
Matthew Wild 5d840b3f53 xmppclient_listener: Port to onconnect handler 16 years ago
Matthew Wild 42d89c47c7 net.xmppclient_listener: Port to util.xmppstream \o/ 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild ada4f197bb net.xmppclient_listener: Fix to correctly handle stream errors from clients 16 years ago
Matthew Wild 70e57250c8 net.xmpp{client,server,component}: Update for new xmlhandlers syntax 16 years ago
Matthew Wild fcfaa6536e xmppclient_listener: Allow the tcp_keepalives option in the config to control whether keepalives are used 16 years ago
Matthew Wild f5afdcb564 core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls 16 years ago
Waqas Hussain 4e56a3c519 xmppclient_listener: Escape control characters when logging invalid XML. 16 years ago
Matthew Wild 31dd611284 *_listener: Update for new net.server API, specifically .listener -> .onincoming, .disconnect -> .ondisconnect 16 years ago
Matthew Wild 2aa2de8a5b xmppclient_listener: Use : syntax for connection methods, to be compatible with new server.lua 16 years ago
Matthew Wild 6c6f24c491 xmppclient_listener: Switch to .onincoming listener method, to be compatible with new server_event.lua 16 years ago
Matthew Wild 95b463a3ee core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls 16 years ago
Waqas Hussain 316bc45e71 Changed separator between attribute names and prefixes from '|' to '\1' (optimization and cleanup). 16 years ago
Matthew Wild 50ff248b0e xmppclient_listener: Remove useless comment 17 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 8ad65c2824 xmpp{client,server,component]_listener: Open stream if sending an error and it isn't already open. Fixes #120 17 years ago
Matthew Wild 423921e9dd xmpp{client,server}_listener: Report contents of packets containing invalid XML 17 years ago
Matthew Wild 741a5cf67b xmppclient_listener: Use error text as disconnect reason if there is any 17 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Matthew Wild 40584eef53 net.xmppclient_listener: Fix potential traceback when no reason is specified for closing a session 17 years ago
Matthew Wild 87ffa5ec0f xmppclient_listener: Pass session close reason to destroy_session (to be used in unavailable presence) 17 years ago
Matthew Wild def151d5ee net.xmppclient_listener: Add small comment 17 years ago
Matthew Wild ede4cc6e86 xmppclient_listener: A connection is also secure when it uses legacy SSL 17 years ago
Matthew Wild 828cb5187b xmpp{server,client}_listener: Fix global accesses 17 years ago
Matthew Wild 89a0eb0ee0 net.xmppclient_listener: Set default namespace to jabber:client 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Matthew Wild d0072c9cfa net/xmppclient_listener: Add some logging and handle unestablished sessions error'ing 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