aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_bosh: Count connection attempts non-VirtualHost as "bad host" (stats)Kim Alvefur2020-10-031-0/+2
|
* Merge 0.11->trunkKim Alvefur2020-10-031-1/+18
|\
| * mod_bosh: Ensure that stream is directed to a VirtualHost (fixes #425)Kim Alvefur2020-10-031-0/+16
| |
| * mod_bosh: Pick out the 'wait' before checking it instead of earlierKim Alvefur2020-10-031-1/+2
| | | | | | | | | | Going to add more host related checks, so to keep the wait variable closer to the related checks
* | mod_bosh, mod_websocket: Add config options to override GET responsesMatthew Wild2020-04-201-4/+6
| |
* | mod_bosh: Abort early if request is missing hostnameKim Alvefur2019-11-021-0/+9
| | | | | | | | Prevents traceback from passing nil to nameprep()
* | plugins: Remove tostring call from loggingKim Alvefur2019-07-301-8/+8
| | | | | | | | | | | | Taken care of by loggingmanager now Mass-rewrite using lua pattern like `tostring%b()`
* | mod_bosh: Added metrics for active/inactive sessions, new BOSH sessions, ↵Arc Riley2019-05-031-2/+28
| | | | | | | | BOSH errors, and timeouts (finishes #998)
* | mod_bosh, mod_websocket: Remove accidentally included dependency on ↵Kim Alvefur2019-01-191-1/+0
| | | | | | | | non-existant module
* | mod_bosh: Drop CORS code in favor of than in mod_httpKim Alvefur2018-10-041-25/+5
|/ | | | | This deprecates the cross_domain_bosh setting. As a compat measure, if it is set, mod_http_crossdomain is loaded.
* mod_bosh: Handle missing wait attribute (fixes #1288)Kim Alvefur2019-01-101-1/+1
| | | | 250855633092 did not fix this completely.
* mod_bosh: Fire stream feature event on hosts (thanks gerald)Kim Alvefur2018-09-241-1/+1
| | | | | Since the module is now global, this event was also fired in a global context by default.
* mod_bosh: Make BOSH global again!Kim Alvefur2018-09-221-5/+2
|
* mod_bosh: Add extra debug logging to help with #1134Kim Alvefur2018-05-151-0/+6
|
* mod_bosh: Fix inconsistent whitespace [luacheck]Kim Alvefur2018-05-011-2/+2
|
* mod_bosh: Fix for 7be8f649d97d to skip error handling and allow other ↵Matthew Wild2018-04-291-3/+6
| | | | modules to handle the request
* mod_bosh: Increase number of stored responses to ensure we always keep ↵Matthew Wild2018-04-111-1/+1
| | | | responses within the rid window available
* mod_bosh: Improve connection robustness with better handling of unexpected ridsMatthew Wild2018-04-101-12/+19
|
* mod_bosh: Some additonal comments to improve code readabilityMatthew Wild2018-04-101-1/+3
|
* mod_bosh: WhitespaceMatthew Wild2018-04-101-1/+0
|
* mod_bosh: Improve logging - parse errors will now log through the session ↵Matthew Wild2018-04-101-1/+2
| | | | logger if possible
* mod_bosh: Improve logging on session close (reason may be a table with params)Matthew Wild2018-04-101-1/+1
|
* mod_http: Set request.ip on all HTTP requests (moves code out of mod_bosh) ↵Kim Alvefur2018-03-151-17/+1
| | | | (fixes #540)
* mod_bosh: Return implicit 404 instead of the proper BOSH terminate thingKim Alvefur2017-12-271-6/+3
|
* mod_bosh: Limit stream to current host (fixes #371)Kim Alvefur2017-12-131-2/+1
|
* mod_bosh: Make into a normal module (fixes #402)Kim Alvefur2017-12-131-16/+12
|
* mod_bosh: Use module API to fire eventsKim Alvefur2017-12-131-2/+2
|
* mod_bosh: Use moduleapi loggerKim Alvefur2017-12-131-1/+1
|
* mod_bosh: Rename variable to avoid name clash [luacheck]Kim Alvefur2017-12-131-3/+3
|
* mod_bosh: Ignore unused argument [luacheck]Kim Alvefur2017-12-131-1/+1
|
* mod_bosh: Remove unused variable [luacheck]Kim Alvefur2017-12-131-1/+0
|
* Merge 0.10 -> trunkMatthew Wild2017-07-281-1/+1
|\
| * mod_bosh: Add ::1 to the default trusted_proxies.Emmanuel Gil Peyrot2017-07-161-1/+1
| |
* | Merge 0.10->trunkKim Alvefur2017-04-201-1/+3
|\|
| * Merge 0.9->0.10Kim Alvefur2017-04-191-1/+3
| |\
| | * mod_bosh: Update session.conn to point to the current connection (fixes #890)Kim Alvefur2017-04-171-1/+3
| | |
* | | Merge 0.10->trunkMatthew Wild2016-09-071-1/+2
|\| |
| * | mod_bosh: Save last response in case retransmission is requiredSam Whited2016-09-071-1/+2
| | |
* | | mod_bosh: Update BOSH wait timeout logic to work despite the addition of ↵Matthew Wild2016-09-021-3/+4
| | | | | | | | | | | | deferred requests
* | | mod_bosh: Fix typoMatthew Wild2016-09-021-1/+1
| | |
* | | Merge 0.10->trunkMatthew Wild2016-09-021-20/+60
|\| |
| * | mod_bosh: Make 'hold' and 'requests' fixed to '1' and '2' respectively, as ↵Matthew Wild2016-09-021-11/+17
| | | | | | | | | | | | this is what all implementations realistically use
| * | mod_bosh: Log when a stanza isn't handled because we can't find a session for itMatthew Wild2016-09-021-0/+2
| | |
| * | mod_bosh: Correctly handle requests arriving out of order (thanks Jitsi folk!)Matthew Wild2016-09-021-10/+42
| | |
* | | mod_bosh: Fix merge mistakes from c8923f882274Kim Alvefur2016-07-141-5/+18
| | |
* | | mod_bosh: Add annotations to ignore unused arguments [luacheck]Kim Alvefur2016-04-191-2/+2
| | |
* | | mod_bosh: Remove unused imports (also mistake in merge)Kim Alvefur2016-04-191-2/+1
| | |
* | | mod_bosh: Fix imports that got lost in mergeKim Alvefur2016-04-191-0/+2
| | |
* | | Merge 0.10->trunkKim Alvefur2016-04-191-1/+1
|\| |
| * | mod_bosh: Don't decrement rid twice (thanks av6)Kim Alvefur2016-04-191-1/+1
| | |