aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_c2s.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_c2s: Iterate over child tags instead of child nodes in stream error ↵Kim Alvefur2017-09-131-10/+8
| | | | (fixes traceback from #987)
* mod_c2s: Just destroy the session when it has no connection (see #641)Kim Alvefur2016-04-031-0/+3
|
* mod_c2s: Remove connection object from session object when connection ↵Kim Alvefur2016-03-021-0/+1
| | | | disconnected to prevent accidental use (see #590)
* mod_c2s, mod_s2s: Lower priority of session shutdown to negative, so that ↵Kim Alvefur2016-01-261-1/+1
| | | | plugins hooking at the default priority run first (fixes #601)
* net.http, net.http.server, mod_c2s, mod_s2s, mod_component, ↵Matthew Wild2014-08-291-0/+4
| | | | mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent)
* mod_c2s, mod_s2s: Log received invalid stream headersMatthew Wild2014-08-231-1/+1
|
* mod_c2s: Fix traceback if c2s stream sent to componentKim Alvefur2014-05-101-1/+1
|
* mod_c2s: Change default of tcp_keepalives to true, and make it individually ↵Kim Alvefur2013-07-241-1/+1
| | | | configurable through c2s_tcp_keepalives
* mod_c2s: Fix session:close() when a stanza is passed as reasonKim Alvefur2013-05-101-1/+1
|
* mod_c2s: Refactor <stream:error> building to allways tostring() it and only ↵Kim Alvefur2013-04-251-9/+9
| | | | call send once
* mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit ↵Matthew Wild2013-04-221-1/+1
| | | | traceback function), to make it clearer where an error occured
* mod_announce, mod_auth_anonymous, mod_c2s, mod_c2s, mod_component, mod_iq, ↵Kim Alvefur2013-03-231-0/+1
| | | | mod_message, mod_presence, mod_tls: Access prosody.{hosts,bare_sessions,full_sessions} instead of the old globals
* prosody, mod_c2s, mod_s2s: Move closing of c2s and s2s sessions to ↵Kim Alvefur2012-12-281-0/+9
| | | | respective plugins
* mod_c2s: Check if TLS compression is usedKim Alvefur2012-12-091-0/+16
|
* mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use ↵Waqas Hussain2012-09-121-2/+2
| | | | module:provides() instead of module:add_item().
* mod_c2s: When a user gets deleted, drop all their sessionsKim Alvefur2012-08-251-0/+10
|
* mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, ↵Kim Alvefur2012-07-261-0/+1
| | | | mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table.
* mod_c2s, mod_s2s: Lower 'Disconnecting X' log messages from 'info' to 'debug'Matthew Wild2012-07-231-3/+3
|
* mod_c2s: Change 'reason' parameter of session:close() to take nil to mean ↵Matthew Wild2012-07-231-6/+6
| | | | 'graceful close initiated by us' and false for 'graceful close initiated by client'
* mod_c2s: Don't call ondisconnect manually on close, it is now called by ↵Matthew Wild2012-07-221-4/+23
| | | | 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).
* mod_c2s: Another lurking string.format squashed.Matthew Wild2012-05-111-3/+3
|
* mod_c2s: Remove unused import of portmanagerMatthew Wild2012-04-281-1/+0
|
* mod_c2s: Add missing multiplexed service discovery pattern.Kim Alvefur2012-03-151-0/+3
|
* mod_c2s, mod_s2s: Drop default_port and default_mode from listener objects ↵Matthew Wild2012-03-151-1/+1
| | | | (default_port is deprecated, and default_mode already defaults to *a)
* mod_c2s, mod_s2s: Add multiplex supportMatthew Wild2012-03-151-0/+3
|
* mod_c2s: Use module:add_item() to add the net-provider for portmanagerMatthew Wild2012-03-141-2/+4
|
* mod_c2s: Code reductionMatthew Wild2012-01-231-3/+2
|
* sessionmanager, mod_c2s: Move timeout logic to mod_c2sMatthew Wild2012-01-231-0/+11
|
* mod_c2s, sessionmanager, xmppclient_listener: Move all c2s network and ↵Matthew Wild2012-01-221-0/+224
stream logic into a new module, mod_c2s