aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_c2s.lua
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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
* | mod_c2s: Port coroutine code to util.asyncMatthew Wild2013-08-111-63/+18
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-10/+10
| |
* | mod_c2s: Add session:sleep() and session:wake() to pause a session (e.g. ↵Matthew Wild2013-08-091-10/+73
| | | | | | | | while waiting for an external event). Needs a gallon or two of testing.
* | mod_c2s, mod_s2s: Log a message that stream encryption has been enabled with ↵Kim Alvefur2013-08-021-4/+7
| | | | | | | | some details
* | Merge 0.9->trunkKim Alvefur2013-07-241-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_bosh, mod_c2s: No longer fire stream-features globally (nobody uses it, ↵Matthew Wild2013-07-151-2/+0
| | | | | | | | and shared modules make it easy for global modules to hook per-host now)
* | mod_c2s, mod_s2s: Fire an event on read timeoutsKim Alvefur2013-06-111-2/+10
| |
* | mod_c2s: Become a shared module and allow being disabled on some virtualhostsKim Alvefur2013-06-111-1/+3
| |
* | mod_c2s, mod_c2s: Send a whitespace on read timeout, to prod TCP into ↵Kim Alvefur2013-05-301-0/+7
|/ | | | detecting if the connection died
* 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).