Commit graph

122 commits

Author SHA1 Message Date
Kim Alvefur
989c0783cb Merge 0.9->0.10 2017-09-14 02:47:40 +02:00
Kim Alvefur
73b75571e6 core.usermanager, various modules: Disconnect other resources on password change (thanks waqas) (fixes #512) 2017-07-28 13:15:29 +02:00
Kim Alvefur
38f73e28ae Merge 0.10->trunk 2017-08-28 21:05:12 +02:00
Kim Alvefur
a5612dad90 mod_c2s: Remove unused locals [luacheck] 2017-04-01 22:40:09 +02:00
Kim Alvefur
2a77d2a3a4 Merge 0.10->trunk 2017-03-06 15:31:21 +01:00
Kim Alvefur
7e8dcd944e mod_c2s: Rename unused loop variable to _ [luacheck] 2017-03-06 15:24:44 +01:00
Kim Alvefur
71d437db39 mod_c2s: Rename variable no avoid name clash [luacheck] 2017-03-06 15:24:33 +01:00
Kim Alvefur
4c6a84a00e Merge 0.10->trunk 2017-01-26 19:47:33 +01:00
Kim Alvefur
befdc64576 mod_c2s, mod_s2s: Remove comment that no longer applies since 946871f6e3c8 2017-01-25 11:18:00 +01:00
Kim Alvefur
bdeb5cc9c5 mod_c2s: Clarify that there were no *stream* features to offer 2017-01-25 10:47:31 +01:00
Kim Alvefur
48d6fa1aa1 Merge 0.11->trunk 2019-05-26 19:41:58 +02:00
Matthew Wild
f4690a6063 Merge 0.10->trunk 2016-09-12 22:31:25 +01:00
Kim Alvefur
522f448b35 mod_c2s, mod_s2s: Switch connection counting to 'amount' type and enumerate once per statistics interval 2016-09-12 15:01:16 +02:00
Kim Alvefur
68f3c9dede Merge 0.10->trunk 2016-08-08 16:41:09 +02:00
Kim Alvefur
8631e529ba mod_c2s: Don't try to keep alive sessions where the stream is not (yet) open 2016-08-07 20:51:34 +02:00
Kim Alvefur
0c9ea08015 mod_c2s: Fix whitespace (why does it keep getting messed up?) 2016-08-07 20:50:56 +02:00
Kim Alvefur
8c0ca748b5 Merge 0.10->trunk 2016-07-08 15:12:44 +02:00
Kim Alvefur
ddccdcd00d mod_c2s, mod_s2s: Bootstrap connection count statistic on module load 2016-07-07 18:48:58 +02:00
Kim Alvefur
d00290510d Merge 0.10->trunk 2016-04-03 15:53:00 +02:00
Kim Alvefur
5e64753929 Merge 0.9->0.10 2016-04-03 15:52:40 +02:00
Kim Alvefur
4308f867bb mod_c2s: Just destroy the session when it has no connection (see #641) 2016-04-03 15:18:21 +02:00
Kim Alvefur
89a474d458 mod_c2s: Remove connection object from session object when connection disconnected to prevent accidental use (see #590) 2016-03-02 16:28:11 +01:00
Kim Alvefur
70a7adc1c1 Merge 0.9->0.10 2016-03-02 16:32:37 +01:00
Kim Alvefur
1875b4a83d mod_c2s, mod_s2s: Lower priority of session shutdown to negative, so that plugins hooking at the default priority run first (fixes #601) 2016-01-26 00:28:07 +01:00
Kim Alvefur
13099c75ec mod_c2s: Remove use of util.async 2016-03-17 12:47:24 +01:00
Kim Alvefur
ab4c6bee84 Merge 0.9->0.10 2016-01-26 14:15:00 +01:00
Kim Alvefur
7dda205176 mod_c2s, mod_s2s: Close incoming connections if there are no features to offer on incomplete streams (fixes #285) 2015-09-24 20:05:23 +02:00
Kim Alvefur
48652fb9d3 mod_c2s, mod_s2s: Collect statistics on number of connections 2015-04-26 00:06:11 +02:00
Kim Alvefur
c80b30a71c Merge 0.9->0.10 2014-09-02 22:33:11 +02:00
Matthew Wild
899b6d53ae net.http, net.http.server, mod_c2s, mod_s2s, mod_component, mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent) 2014-08-29 11:54:34 +01:00
Matthew Wild
878efeecd5 Merge 0.9->0.10 2014-08-28 09:23:24 +01:00
Matthew Wild
933bb5a869 mod_c2s, mod_s2s: Log received invalid stream headers 2014-08-23 09:29:17 +01:00
Kim Alvefur
57940a8351 mod_c2s: Fix traceback if c2s stream sent to component 2014-05-10 02:12:51 +02:00
Kim Alvefur
e06966ee43 mod_c2s, mod_s2s, mod_component, util.xmppstream: Move all session:open_stream() functions to util.xmppstream 2014-04-10 13:13:07 +02:00
Florian Zeitz
c5c7ef5b0f mod_c2s: Break out stream opening into a separate function 2014-01-31 12:01:12 +01:00
Kim Alvefur
5178a1e79f mod_c2s, mod_s2s: Set session.encrypted as session.secure does not allways mean encrypted (eg consider_bosh_secure) 2013-10-07 12:43:00 +02:00
Kim Alvefur
0c39eb02b9 mod_c2s: Move another log message to debug level 2013-08-14 15:38:56 +02:00
Kim Alvefur
938d568ac4 mod_c2s, mod_s2s: Log cipher and encryption info in a more compact and (hopefully) less confusing way 2013-08-14 15:00:36 +02:00
Matthew Wild
e0216573ab mod_c2s: Port coroutine code to util.async 2013-08-11 14:46:27 +01:00
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Matthew Wild
5383602429 mod_c2s: Add session:sleep() and session:wake() to pause a session (e.g. while waiting for an external event). Needs a gallon or two of testing. 2013-08-09 11:10:22 +01:00
Kim Alvefur
0c6c0e9c29 mod_c2s, mod_s2s: Log a message that stream encryption has been enabled with some details 2013-08-02 15:12:24 +02:00
Kim Alvefur
0f421f9b7c Merge 0.9->trunk 2013-07-24 21:50:38 +02:00
Kim Alvefur
aa15ed7020 mod_c2s: Change default of tcp_keepalives to true, and make it individually configurable through c2s_tcp_keepalives 2013-07-24 15:28:36 +02:00
Matthew Wild
cab180216b mod_bosh, mod_c2s: No longer fire stream-features globally (nobody uses it, and shared modules make it easy for global modules to hook per-host now) 2013-07-15 11:44:49 +01:00
Kim Alvefur
4c9866805e mod_c2s, mod_s2s: Fire an event on read timeouts 2013-06-11 21:36:15 +02:00
Kim Alvefur
b6ecf01333 mod_c2s: Become a shared module and allow being disabled on some virtualhosts 2013-06-11 21:18:51 +02:00
Kim Alvefur
8d85647c37 mod_c2s, mod_c2s: Send a whitespace on read timeout, to prod TCP into detecting if the connection died 2013-05-30 14:32:40 +02:00
Kim Alvefur
dd56030a23 mod_c2s: Fix session:close() when a stanza is passed as reason 2013-05-10 22:29:03 +02:00
Kim Alvefur
b50dc4174b mod_c2s: Refactor <stream:error> building to allways tostring() it and only call send once 2013-04-25 17:50:22 +02:00