Commit graph

62 commits

Author SHA1 Message Date
Matthew Wild
9931497619 mod_c2s, mod_s2s: Lower 'Disconnecting X' log messages from 'info' to 'debug' 2012-07-23 18:28:14 +01:00
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' 2012-07-23 12:56:47 +01:00
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). 2012-07-22 16:59:12 +01:00
Matthew Wild
6e0cfc7267 mod_c2s: Another lurking string.format squashed. 2012-05-11 14:57:29 +01:00
Matthew Wild
246e8535c1 mod_c2s: Remove unused import of portmanager 2012-04-28 03:05:03 +01:00
Kim Alvefur
8a4a259bde mod_c2s: Add missing multiplexed service discovery pattern. 2012-03-15 17:37:07 +01:00
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) 2012-03-15 16:31:10 +00:00
Matthew Wild
99096dfa23 mod_c2s, mod_s2s: Add multiplex support 2012-03-15 03:05:24 +00:00
Matthew Wild
107458131f mod_c2s: Use module:add_item() to add the net-provider for portmanager 2012-03-14 21:42:08 +00:00
Matthew Wild
5c1ba3bb13 mod_c2s: Code reduction 2012-01-23 02:15:28 +00:00
Matthew Wild
b14f0af41d sessionmanager, mod_c2s: Move timeout logic to mod_c2s 2012-01-23 00:56:57 +00:00
Matthew Wild
13b36f8ded mod_c2s, sessionmanager, xmppclient_listener: Move all c2s network and stream logic into a new module, mod_c2s 2012-01-22 23:57:13 +00:00
Renamed from net/xmppclient_listener.lua (Browse further)