Log

plugins/mod_bosh.lua @ 3043:1fadbb2e3ca0

description author age
Merge with 0.6 Matthew Wild Mon, 17 May 2010 11:56:36 +0100
mod_bosh: Always give requests a destroy handler, so that the management of each session's request array and the inactive_sessions logic can happen in one place. Simplifies everything and concludes this series of BOSH fixes. Matthew Wild Mon, 17 May 2010 11:49:24 +0100
mod_bosh: Fix handling of rids by not dropping requests with repeated rids (assign them their sid instead), and always starting a session with first_rid-1. Matthew Wild Mon, 17 May 2010 11:46:54 +0100
mod_bosh: Remove some hacky code for pruning dead requests that hopefully never gets executed - if it does there's a bug anyway. Matthew Wild Mon, 17 May 2010 11:45:11 +0100
mod_bosh: Remove requests from the session table using table.remove(), prevents the possibility of holes in the array. Matthew Wild Mon, 17 May 2010 11:42:53 +0100
Merge 0.6->0.7 Matthew Wild Sat, 03 Apr 2010 23:09:11 +0100
mod_bosh: Default stanza namespace should be jabber:client (fixes BOSH to work with recent namespace fix) Matthew Wild Sat, 03 Apr 2010 22:24:39 +0100
Merge 0.6->0.7 Matthew Wild Mon, 22 Mar 2010 17:24:55 +0000
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
mod_bosh: Fire stream-features event using new events API. Waqas Hussain Fri, 12 Feb 2010 04:11:50 +0500
mod_bosh: I == fail. Matthew Wild Fri, 22 Jan 2010 03:36:03 +0000
mod_bosh: Simplify cross-domain support, and make it work - default is for cross-domain to be disallowed Matthew Wild Fri, 22 Jan 2010 03:18:55 +0000
mod_bosh: Support for cross-domain access control using CORS Matthew Wild Thu, 21 Jan 2010 15:07:52 +0000
mod_bosh: Trailing whitespace Matthew Wild Thu, 21 Jan 2010 00:35:07 +0000
mod_bosh: Update for new xmlhandlers syntax Matthew Wild Tue, 19 Jan 2010 03:57:19 +0000
mod_bosh: Update for new connection API Matthew Wild Thu, 17 Dec 2009 20:28:32 +0000
mod_bosh: Delay setup until after server is started. Waqas Hussain Thu, 10 Dec 2009 16:21:06 +0500
mod_bosh: Don't log response XML Matthew Wild Sat, 21 Nov 2009 13:15:46 +0000
mod_bosh: Set session.ip for BOSH sessions. Waqas Hussain Wed, 18 Nov 2009 06:22:52 +0500
Changed separator between attribute names and prefixes from '|' to '\1' (optimization and cleanup). Waqas Hussain Thu, 12 Nov 2009 13:42:44 +0500
mod_bosh: Update to use new httpserver.new_from_config syntax Matthew Wild Sat, 03 Oct 2009 00:56:45 +0100
Merge with 0.5 Matthew Wild Fri, 02 Oct 2009 21:24:16 +0100
mod_bosh: Fix for 'invalid key to next' error when 2 clients lose connection at the same time Matthew Wild Fri, 02 Oct 2009 21:23:32 +0100
mod_bosh: Strip BOSH namespace from stanzas to allow for some clients which may send them without the correct xmlns Matthew Wild Tue, 11 Aug 2009 20:38:48 +0100
mod_bosh: Calculate rid difference just once Matthew Wild Tue, 11 Aug 2009 20:15:54 +0100
mod_bosh: Basic handling of rids (more to come) Matthew Wild Tue, 11 Aug 2009 19:52:09 +0100
mod_bosh: Correct reply when closing sessions Matthew Wild Tue, 11 Aug 2009 19:48:41 +0100
mod_bosh: Updated to use module:get_option instead of configmanager Waqas Hussain Sun, 09 Aug 2009 17:47:26 +0500
mod_bosh: Fix error reply for host-unknown errors Matthew Wild Wed, 05 Aug 2009 03:08:21 +0100
mod_bosh: Update to use new new_from_config() Matthew Wild Tue, 14 Jul 2009 21:04:07 +0100
mod_bosh: Mark a session as secure if it is created with HTTPS Matthew Wild Sun, 12 Jul 2009 19:16:37 +0100
mod_bosh: Use new httpserver helper to initialise ports Matthew Wild Sun, 12 Jul 2009 15:21:10 +0100
Add copyright header to those files missing one Matthew Wild Fri, 10 Jul 2009 03:08:38 +0100
Merge with 0.4 Matthew Wild Mon, 04 May 2009 19:57:05 +0100
mod_bosh: Give BOSH sessions a logger (thanks Florob) Matthew Wild Mon, 04 May 2009 19:38:21 +0100
Merge with 0.4 branch Matthew Wild Thu, 23 Apr 2009 03:28:35 +0100
mod_bosh: Put dummy authid in session creation response to keep JSJaC happy Matthew Wild Thu, 23 Apr 2009 03:27:22 +0100
mod_bosh: Add log message for clients connecting to unknown host Matthew Wild Thu, 23 Apr 2009 03:25:48 +0100
mod_bosh: Fix nil indexing when client connects to unknown host Matthew Wild Thu, 23 Apr 2009 03:25:11 +0100
mod_*: Fix a load of global accesses Matthew Wild Wed, 22 Apr 2009 21:32:23 +0100
mod_bosh: Fix to correctly timeout idle sessions Matthew Wild Tue, 31 Mar 2009 13:56:41 +0100
mod_bosh: Set Content-Type in response headers Matthew Wild Tue, 03 Mar 2009 19:49:40 +0000
mod_bosh: Possible fix for invalid key to next crash Matthew Wild Wed, 18 Feb 2009 19:33:57 +0000
mod_bosh: Fix for 'invalid key to next' error when using BOSH Matthew Wild Mon, 09 Feb 2009 13:32:46 +0000
Remove redundant logging and debug printing from mod_bosh Matthew Wild Mon, 09 Feb 2009 13:31:10 +0000
mod_bosh: No need to tostring() uuids now Matthew Wild Sun, 01 Feb 2009 02:20:11 +0000
Replacing pretty_print() with top_tag() for logging Matthew Wild Fri, 16 Jan 2009 04:37:16 +0000
BOSH: Allow BOSH servers to be configured through config file Matthew Wild Tue, 13 Jan 2009 05:55:31 +0000
BOSH: Make previous fix a bit more efficient Matthew Wild Mon, 12 Jan 2009 02:59:00 +0000
BOSH: Fix for error when closed session was in inactive_sessions list Matthew Wild Mon, 12 Jan 2009 02:57:49 +0000
Implement session:close() for BOSH, and add checking for attempts to connect to hosts we don't serve Matthew Wild Fri, 09 Jan 2009 19:18:46 +0000
Change default maximum inactivity period to 60s from 30s Matthew Wild Fri, 09 Jan 2009 19:16:47 +0000
Numerous BOSH improvements... handle client disconnects, either explicit or implicit through inactivity; allow specifying BOSH default parameters through config; fix to prevent prematurely closing request connections in some cases, before they were replied to Matthew Wild Fri, 09 Jan 2009 16:33:09 +0000
Remove some old debugging code from mod_bosh Matthew Wild Sat, 27 Dec 2008 21:23:14 +0000
Initial mod_bosh, works, kind of, but quite incomplete Matthew Wild Mon, 22 Dec 2008 22:19:42 +0000