aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* mod_bosh: Support for reading the client's real IP through HTTP proxies from ↵Matthew Wild2010-08-281-2/+19
| | | | X-Forwarded-For
* mod_bosh: Don't adjust rid when creating a session, as this is no longer ↵Matthew Wild2010-08-221-1/+1
| | | | necessary and causes a log message ('rid too large') to be erroneously printed, fixes #203
* mod_bosh: Fix to properly ignore repeated requestsMatthew Wild2010-08-071-0/+2
|
* mod_bosh: Small change to use variable instead of hard-coded xmlnsMatthew Wild2010-08-061-1/+3
|
* mod_bosh: Much improve session:close() for BOSH sessions, so it now matches ↵Matthew Wild2010-08-061-3/+35
| | | | in usage normal session:close()
* mod_bosh: Add error callback for xmlhandlers, to handle the case of invalid ↵Matthew Wild2010-08-061-0/+15
| | | | or unusable XML in the request payload
* mod_bosh: Remove dependency on eventmanagerMatthew Wild2010-08-031-1/+1
|
* mod_bosh: Add jabber:client namespace to stanzas with no namespaceMatthew Wild2010-07-041-0/+5
|
* mod_bosh: Re-layout session object creation to make lines shorterMatthew Wild2010-05-211-4/+8
|
* mod_bosh: Add option consider_bosh_secure to treat BOSH sessions as ↵Matthew Wild2010-05-211-1/+3
| | | | encrypted even if they don't use HTTP (useful for when secure requests are proxied to Prosody over HTTP)
* Merge with 0.6Matthew Wild2010-05-171-22/+23
|\
| * mod_bosh: Always give requests a destroy handler, so that the management of ↵Matthew Wild2010-05-171-13/+15
| | | | | | | | each session's request array and the inactive_sessions logic can happen in one place. Simplifies everything and concludes this series of BOSH fixes.
| * mod_bosh: Fix handling of rids by not dropping requests with repeated rids ↵Matthew Wild2010-05-171-2/+3
| | | | | | | | (assign them their sid instead), and always starting a session with first_rid-1.
| * mod_bosh: Remove some hacky code for pruning dead requests that hopefully ↵Matthew Wild2010-05-171-5/+0
| | | | | | | | never gets executed - if it does there's a bug anyway.
| * mod_bosh: Remove requests from the session table using table.remove(), ↵Matthew Wild2010-05-171-2/+5
| | | | | | | | prevents the possibility of holes in the array.
* | Merge 0.6->0.7Matthew Wild2010-04-031-2/+2
|\|
| * mod_bosh: Default stanza namespace should be jabber:client (fixes BOSH to ↵Matthew Wild2010-04-031-2/+2
| | | | | | | | work with recent namespace fix)
* | Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\|
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
| * mod_bosh: Don't log response XMLMatthew Wild2009-11-211-2/+2
| |
* | mod_bosh: Fire stream-features event using new events API.Waqas Hussain2010-02-121-0/+2
| |
* | mod_bosh: I == fail.Matthew Wild2010-01-221-2/+1
| |
* | mod_bosh: Simplify cross-domain support, and make it work - default is for ↵Matthew Wild2010-01-221-21/+9
| | | | | | | | cross-domain to be disallowed
* | mod_bosh: Support for cross-domain access control using CORSMatthew Wild2010-01-211-1/+34
| |
* | mod_bosh: Trailing whitespaceMatthew Wild2010-01-211-5/+5
| |
* | mod_bosh: Update for new xmlhandlers syntaxMatthew Wild2010-01-191-1/+1
| |
* | mod_bosh: Update for new connection APIMatthew Wild2009-12-171-1/+1
| |
* | mod_bosh: Delay setup until after server is started.Waqas Hussain2009-12-101-3/+10
| |
* | mod_bosh: Don't log response XMLMatthew Wild2009-11-211-2/+2
|/
* mod_bosh: Set session.ip for BOSH sessions.Waqas Hussain2009-11-181-0/+1
|
* Changed separator between attribute names and prefixes from '|' to '\1' ↵Waqas Hussain2009-11-121-2/+2
| | | | (optimization and cleanup).
* mod_bosh: Update to use new httpserver.new_from_config syntaxMatthew Wild2009-10-031-1/+1
|
* Merge with 0.5Matthew Wild2009-10-021-1/+10
|\
| * mod_bosh: Fix for 'invalid key to next' error when 2 clients lose connection ↵Matthew Wild2009-10-021-1/+10
| | | | | | | | at the same time
* | mod_bosh: Strip BOSH namespace from stanzas to allow for some clients which ↵Matthew Wild2009-08-111-1/+2
| | | | | | | | may send them without the correct xmlns
* | mod_bosh: Calculate rid difference just onceMatthew Wild2009-08-111-3/+3
| |
* | mod_bosh: Basic handling of rids (more to come)Matthew Wild2009-08-111-1/+16
| |
* | mod_bosh: Correct reply when closing sessionsMatthew Wild2009-08-111-2/+1
| |
* | mod_bosh: Updated to use module:get_option instead of configmanagerWaqas Hussain2009-08-091-8/+6
|/
* mod_bosh: Fix error reply for host-unknown errorsMatthew Wild2009-08-051-2/+2
|
* mod_bosh: Update to use new new_from_config()Matthew Wild2009-07-141-1/+1
|
* mod_bosh: Mark a session as secure if it is created with HTTPSMatthew Wild2009-07-121-1/+1
|
* mod_bosh: Use new httpserver helper to initialise portsMatthew Wild2009-07-121-11/+1
|
* Add copyright header to those files missing oneMatthew Wild2009-07-101-0/+8
|
* Merge with 0.4Matthew Wild2009-05-041-2/+5
|\
| * mod_bosh: Give BOSH sessions a logger (thanks Florob)Matthew Wild2009-05-041-2/+5
| |
* | Merge with 0.4 branchMatthew Wild2009-04-231-2/+3
|\|
| * mod_bosh: Put dummy authid in session creation response to keep JSJaC happyMatthew Wild2009-04-231-1/+1
| |
| * mod_bosh: Add log message for clients connecting to unknown hostMatthew Wild2009-04-231-0/+1
| |
| * mod_bosh: Fix nil indexing when client connects to unknown hostMatthew Wild2009-04-231-1/+1
| |