aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Merge 0.10->trunkKim Alvefur2016-04-191-29/+41
|\| |
| * | mod_bosh: Reject fractional 'wait' (See #343)Kim Alvefur2016-04-191-1/+1
| | |
| * | mod_bosh: Return a proper BOSH error response from XML parse error callback ↵Kim Alvefur2016-04-191-2/+3
| | | | | | | | | | | | (see #343)
| * | mod_bosh: Validate that 'sid' and 'wait' have sane values (fixes #475, also ↵Kim Alvefur2016-04-191-3/+14
| | | | | | | | | | | | see #343)
| * | mod_bosh: Validate 'to' host (see #343)Kim Alvefur2016-04-191-1/+9
| | |
| * | mod_bosh: Return a proper BOSH error response instead of deprecated(?) ↵Kim Alvefur2016-04-191-2/+6
| | | | | | | | | | | | status code (See #343)
| * | mod_bosh: Log error returned from stream:feed()Kim Alvefur2016-04-191-2/+3
| | |
| * | mod_bosh: Return if a response has been sent already (See #343)Kim Alvefur2016-04-191-0/+2
| | |
| * | mod_bosh: Remove unused importKim Alvefur2016-04-191-1/+0
| | |
* | | Update every link to the documentation to use HTTPSEmmanuel Gil Peyrot2016-04-161-1/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2016-04-021-0/+1
|\| |
| * | mod_bosh: Skip sending stanzas removed out by filters (fixes #657)Kim Alvefur2016-04-011-0/+1
| | |
| * | Backed out BOSH use of util.async (changeset f0687c313cf1)Kim Alvefur2016-03-171-13/+3
| | |
* | | Merge 0.10->trunkMatthew Wild2016-01-041-0/+2
|\| |
| * | mod_bosh: Fire event when BOSH session is createdMatthew Wild2016-01-041-0/+2
| | |
* | | mod_bosh: Instead of a global once-per-second timer add a timer for each ↵Kim Alvefur2015-12-071-47/+32
|/ / | | | | | | session when needed
* | mod_bosh: Use util.asyncKim Alvefur2014-12-071-3/+13
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-16/+16
| |
* | mod_bosh, mod_c2s: No longer fire stream-features globally (nobody uses it, ↵Matthew Wild2013-07-151-1/+0
| | | | | | | | and shared modules make it easy for global modules to hook per-host now)
* | Merge 0.9->trunkMatthew Wild2013-07-091-1/+6
|\|
| * mod_bosh: pcall() core_process_stanza per stanza, to bring in line with ↵Matthew Wild2013-07-081-1/+4
| | | | | | | | other listeners. This ensures that stanzas following a traceback-causing stanza in a request will still be processed (as would happen on normal c2s).
| * mod_bosh: Only pass stanza to core_process_stanza if it wasn't dropped by ↵Matthew Wild2013-07-081-1/+3
| | | | | | | | filters