aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_c2s.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_c2s, mod_s2s, mod_component: Log invalid XML escaped (fixes #734)Kim Alvefur2019-01-151-1/+1
| | | | See 6ed0d6224d64
* mod_c2s: Improve log message in case there are no stream features on offer ↵Kim Alvefur2018-12-281-1/+7
| | | | (thanks hexa)
* mod_c2s: Fix fallback for missing session loggerKim Alvefur2018-10-121-1/+1
|
* Merge 0.10->trunkMatthew Wild2018-05-301-2/+9
|\
| * Merge 0.9->0.100.10.2Matthew Wild2018-05-301-2/+9
| |\
| | * mod_c2s: Do not allow the stream 'to' to change across stream restarts ↵0.9.14Kim Alvefur2018-05-251-2/+9
| | | | | | | | | | | | (fixes #1147)
* | | Merge 0.10->trunkKim Alvefur2018-05-221-1/+1
|\| |
| * | mod_c2s: Avoid concatenating potential nil value (fixes #753)Kim Alvefur2018-05-221-1/+1
| | |
* | | mod_c2s: Add a counter for IPv6.Emmanuel Gil Peyrot2017-09-091-1/+7
| | |
* | | Merge 0.10->trunkKim Alvefur2017-11-101-1/+1
|\| |
| * | mod_c2s: Set a default value for c2s_timeout (fixes #1036)Kim Alvefur2017-11-101-1/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2017-09-141-10/+8
|\| |
| * | Merge 0.9->0.10Kim Alvefur2017-09-141-10/+8
| |\|
| | * mod_c2s: Iterate over child tags instead of child nodes in stream error ↵Kim Alvefur2017-09-131-10/+8
| | | | | | | | | | | | (fixes traceback from #987)
* | | Merge 0.10->trunkKim Alvefur2017-08-281-0/+12
|\| |
| * | core.usermanager, various modules: Disconnect other resources on password ↵Kim Alvefur2017-07-281-0/+12
| | | | | | | | | | | | change (thanks waqas) (fixes #512)
* | | mod_c2s: Remove unused locals [luacheck]Kim Alvefur2017-04-011-2/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2017-03-061-8/+8
|\| |
| * | mod_c2s: Rename unused loop variable to _ [luacheck]Kim Alvefur2017-03-061-1/+1
| | |
| * | mod_c2s: Rename variable no avoid name clash [luacheck]Kim Alvefur2017-03-061-7/+7
| | |
* | | Merge 0.10->trunkKim Alvefur2017-01-261-4/+2
|\| |
| * | mod_c2s, mod_s2s: Remove comment that no longer applies since 946871f6e3c8Kim Alvefur2017-01-251-2/+0
| | |
| * | mod_c2s: Clarify that there were no *stream* features to offerKim Alvefur2017-01-251-2/+2
| | |
* | | Merge 0.10->trunkMatthew Wild2016-09-121-5/+3
|\| |
| * | mod_c2s, mod_s2s: Switch connection counting to 'amount' type and enumerate ↵Kim Alvefur2016-09-121-5/+3
| | | | | | | | | | | | once per statistics interval
* | | Merge 0.10->trunkKim Alvefur2016-08-081-4/+7
|\| |
| * | mod_c2s: Don't try to keep alive sessions where the stream is not (yet) openKim Alvefur2016-08-071-1/+4
| | |
| * | mod_c2s: Fix whitespace (why does it keep getting messed up?)Kim Alvefur2016-08-071-3/+3
| | |
* | | Merge 0.10->trunkKim Alvefur2016-07-081-0/+10
|\| |
| * | mod_c2s, mod_s2s: Bootstrap connection count statistic on module loadKim Alvefur2016-07-071-0/+10
| | |
* | | Merge 0.10->trunkKim Alvefur2016-04-031-0/+3
|\| |
| * | Merge 0.9->0.10Kim Alvefur2016-04-031-0/+3
| |\|
| | * mod_c2s: Just destroy the session when it has no connection (see #641)Kim Alvefur2016-04-031-0/+3
| | |
| * | mod_c2s: Remove use of util.asyncKim Alvefur2016-03-171-20/+5
|/ /
* | Merge 0.9->0.10Kim Alvefur2016-03-021-0/+1
|\|
| * mod_c2s: Remove connection object from session object when connection ↵Kim Alvefur2016-03-021-0/+1
| | | | | | | | disconnected to prevent accidental use (see #590)
* | Merge 0.9->0.10Kim Alvefur2016-01-261-1/+1
|\|
| * 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)
* | mod_c2s, mod_s2s: Close incoming connections if there are no features to ↵Kim Alvefur2015-09-241-1/+6
| | | | | | | | offer on incomplete streams (fixes #285)
* | mod_c2s, mod_s2s: Collect statistics on number of connectionsKim Alvefur2015-04-261-0/+4
| |
* | Merge 0.9->0.10Kim Alvefur2014-09-021-3/+3
|\|
| * 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)
* | Merge 0.9->0.10Matthew Wild2014-08-281-1/+1
|\|
| * 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, mod_s2s, mod_component, util.xmppstream: Move all ↵Kim Alvefur2014-04-101-14/+0
| | | | | | | | session:open_stream() functions to util.xmppstream
* | mod_c2s: Break out stream opening into a separate functionFlorian Zeitz2014-01-311-6/+16
| |
* | mod_c2s, mod_s2s: Set session.encrypted as session.secure does not allways ↵Kim Alvefur2013-10-071-0/+2
| | | | | | | | mean encrypted (eg consider_bosh_secure)
* | mod_c2s: Move another log message to debug levelKim Alvefur2013-08-141-1/+1
| |
* | mod_c2s, mod_s2s: Log cipher and encryption info in a more compact and ↵Kim Alvefur2013-08-141-2/+1
| | | | | | | | (hopefully) less confusing way