aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_c2s.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* 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