aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | mod_bosh: Save last response in case retransmission is requiredSam Whited2016-09-071-1/+2
| |
* | 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: Don't decrement rid twice (thanks av6)Kim Alvefur2016-04-191-1/+1
| |
* | 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
| |
* | 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
| |
* | mod_bosh: Fire event when BOSH session is createdMatthew Wild2016-01-041-0/+2
| |
* | 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
| * mod_bosh: Remove Connection: keep-alive header (conflicts with new ↵Matthew Wild2013-06-071-1/+1
| | | | | | | | net.http.server)
| * mod_bosh: Fix global writeMatthew Wild2013-06-071-1/+2
| |
* | mod_bosh: Reduce a little code.Waqas Hussain2013-06-111-6/+2
| |
* | mod_bosh: Make waiting_requests and dead_sessions shared to preserve across ↵Matthew Wild2013-06-081-2/+2
| | | | | | | | reloads
* | mod_bosh: Don't tostring() stream:features when passing to session.send().Waqas Hussain2013-06-071-1/+1
| |
* | mod_bosh: Only return CORS headers if the Origin header is received, and ↵Waqas Hussain2013-06-071-2/+4
| | | | | | | | CORS is enabled.
* | mod_bosh: Return empty string from the OPTIONS event handler, don't return ↵Waqas Hussain2013-06-071-1/+2
| | | | | | | | the response object itself.
* | mod_bosh: Rename event handler argument to event, not request.Waqas Hussain2013-06-071-2/+2
| |
* | Merge 0.9->trunkMatthew Wild2013-06-071-1/+1
|\|
| * mod_bosh: Remove logging of request.id, it doesn't exist in the new HTTP ↵Matthew Wild2013-06-071-1/+1
| | | | | | | | server API (thanks Mikael Nordfeldth)
* | mod_bosh: Remove another place we set headers, fixes #348Matthew Wild2013-06-061-1/+0
| |
* | mod_bosh: Clean up handling of response headers, set them only in one placeMatthew Wild2013-06-051-23/+23
| |
* | mod_bosh: Return errors when appropriate (invalid XML, missing sid)Matthew Wild2013-06-051-1/+6
| |
* | mod_bosh: Remove some very verbose loggingMatthew Wild2013-06-051-3/+0
| |
* | Merge 0.9->trunkMatthew Wild2013-06-051-0/+1
|\|
| * mod_bosh: Reset creating_session to prevent putting unnecessary attributes ↵Matthew Wild2013-06-051-0/+1
| | | | | | | | into every BOSH response
* | Merge 0.9->trunkKim Alvefur2013-06-021-1/+1
|\|
| * mod_bosh: Fix traceback in case session is destroyed during the ↵Kim Alvefur2013-06-021-1/+1
| | | | | | | | stream-features event (thanks Biszkopcik)
* | mod_bosh: rename variable for clarityMatthew Wild2013-05-241-2/+2
| |
* | mod_bosh: Some very minor whitespace/layout fixesMatthew Wild2013-05-241-3/+4
|/
* mod_bosh: Add 'Connection: keep-alive' headerMatthew Wild2012-11-221-1/+1
|
* mod_bosh: Add support for stanza filters to BOSH sessions (needed by some ↵Matthew Wild2012-11-221-0/+5
| | | | plugins)
* mod_bosh: Add bosh_max_wait config option, to limit the amount of time a ↵Matthew Wild2012-11-221-2/+4
| | | | client can request for the server to hold open requests
* mod_bosh: Share sessions and inactive_sessions tablesMatthew Wild2012-11-151-2/+2
|
* mod_bosh: Remove redundant code (send stream features in only one place) ↵Matthew Wild2012-08-011-5/+1
| | | | (thanks Zash)
* mod_bosh: Remove troublesome return... continue processing of the streamopen ↵Matthew Wild2012-08-011-1/+0
| | | | after session creation (because since 16c7b510694b we no longer send an early response)