Log

plugins/mod_bosh.lua @ 4671:7e4c1fb44dd7

description author age
mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global() Kim Alvefur 2012-03-15
Merge with 0.9 Matthew Wild 2012-04-19
mod_bosh: Log error on BOSH parse failure (thanks daurnimator) Matthew Wild 2012-04-19
mod_bosh: Remove unused reference to lxp Waqas Hussain 2011-12-14
mod_bosh: Fixed use of a private HTTP request property. Waqas Hussain 2011-12-09
mod_bosh: Experimental option 'bosh_auto_cork' which witholds any response to a request until all stanzas in it have been processed. Matthew Wild 2011-12-07
mod_bosh: Move stream:features sending until after the current request has been added to session.requests. Ensures correct inactivity logic. Matthew Wild 2011-12-07
mod_bosh: Remove a session from inactive_sessions before destroying it Matthew Wild 2011-12-07
mod_bosh: Store time to destroy session in inactive_sessions, removing dependency on session.bosh_max_inactive in cleanup timer Matthew Wild 2011-12-07
mod_bosh: s/xmlns:streams/xmlns:stream/ - fixes #265 (thanks Tim) Matthew Wild 2011-09-15
mod_bosh: Update to use typed variants of module:get_option(), makes it more tolerant to config variations and simplifies the code. Matthew Wild 2011-07-20
mod_bosh: Fix logging when no sid present, fix a missing semi-colon, avoid an extra useless table lookup (thanks Thomas) Matthew Wild 2011-06-28
Merge 0.8->trunk Matthew Wild 2011-06-07
Backout commit d6366294f618 which I was testing and didn't mean to push to 0.8 Matthew Wild 2011-06-05
mod_bosh: Fix terminate logic - process any stanzas in a terminating request, and add type='terminate' to any responses generated by those stanzas. Finally, close all remaining open requests with type='terminate' and close the session. Fixes #211 (thanks Maranda + waqas). Matthew Wild 2011-03-04
mod_bosh: Mark a session as active when a request comes in, even if we don't end up holding that request, fixes BOSH ghosts (thanks smoku) Matthew Wild 2011-06-05
mod_bosh: Fix terminate logic - process any stanzas in a terminating request, and add type='terminate' to any responses generated by those stanzas. Finally, close all remaining open requests with type='terminate' and close the session. Fixes #211 (thanks Maranda + waqas). Matthew Wild 2011-03-04
mod_bosh: Return true from send() Matthew Wild 2011-01-08
mod_bosh: Fix for miscalculating inactivity, causing disconnects under a steady stream of traffic Matthew Wild 2011-01-04
mod_bosh: Fixes to the session creation response - add mandatory 'wait' attribute, remove optional 'maxpause' which we don't support, and reformat the code to prevent long lines and wacky indentation. Fixes #219. Matthew Wild 2010-12-11
mod_bosh: Switch to util.xmppstream from xmlhandlers Matthew Wild 2010-12-07
mod_bosh: Use util.timer for timers instead of server.addtimer. Waqas Hussain 2010-12-02
mod_bosh: Don't add a Content-Type header to the HTTP OPTIONS reply. Waqas Hussain 2010-10-22
mod_bosh: Fix traceback when initiating a BOSH session to an unknown host Matthew Wild 2010-09-10
mod_bosh: Support for reading the client's real IP through HTTP proxies from X-Forwarded-For Matthew Wild 2010-08-28
mod_bosh: Don't adjust rid when creating a session, as this is no longer necessary and causes a log message ('rid too large') to be erroneously printed, fixes #203 Matthew Wild 2010-08-22
mod_bosh: Fix to properly ignore repeated requests Matthew Wild 2010-08-07
mod_bosh: Small change to use variable instead of hard-coded xmlns Matthew Wild 2010-08-06
mod_bosh: Much improve session:close() for BOSH sessions, so it now matches in usage normal session:close() Matthew Wild 2010-08-06
mod_bosh: Add error callback for xmlhandlers, to handle the case of invalid or unusable XML in the request payload Matthew Wild 2010-08-06
mod_bosh: Remove dependency on eventmanager Matthew Wild 2010-08-03
mod_bosh: Add jabber:client namespace to stanzas with no namespace Matthew Wild 2010-07-04
mod_bosh: Re-layout session object creation to make lines shorter Matthew Wild 2010-05-21
mod_bosh: Add option consider_bosh_secure to treat BOSH sessions as encrypted even if they don't use HTTP (useful for when secure requests are proxied to Prosody over HTTP) Matthew Wild 2010-05-21
Merge with 0.6 Matthew Wild 2010-05-17
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 2010-05-17
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 2010-05-17
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 2010-05-17
mod_bosh: Remove requests from the session table using table.remove(), prevents the possibility of holes in the array. Matthew Wild 2010-05-17
Merge 0.6->0.7 Matthew Wild 2010-04-03
mod_bosh: Default stanza namespace should be jabber:client (fixes BOSH to work with recent namespace fix) Matthew Wild 2010-04-03
Merge 0.6->0.7 Matthew Wild 2010-03-22
Update copyright headers for 2010 Matthew Wild 2010-03-22
mod_bosh: Fire stream-features event using new events API. Waqas Hussain 2010-02-11
mod_bosh: I == fail. Matthew Wild 2010-01-22
mod_bosh: Simplify cross-domain support, and make it work - default is for cross-domain to be disallowed Matthew Wild 2010-01-22
mod_bosh: Support for cross-domain access control using CORS Matthew Wild 2010-01-21
mod_bosh: Trailing whitespace Matthew Wild 2010-01-21
mod_bosh: Update for new xmlhandlers syntax Matthew Wild 2010-01-19
mod_bosh: Update for new connection API Matthew Wild 2009-12-17
mod_bosh: Delay setup until after server is started. Waqas Hussain 2009-12-10
mod_bosh: Don't log response XML Matthew Wild 2009-11-21
mod_bosh: Set session.ip for BOSH sessions. Waqas Hussain 2009-11-18
Changed separator between attribute names and prefixes from '|' to '\1' (optimization and cleanup). Waqas Hussain 2009-11-12
mod_bosh: Update to use new httpserver.new_from_config syntax Matthew Wild 2009-10-02
Merge with 0.5 Matthew Wild 2009-10-02
mod_bosh: Fix for 'invalid key to next' error when 2 clients lose connection at the same time Matthew Wild 2009-10-02
mod_bosh: Strip BOSH namespace from stanzas to allow for some clients which may send them without the correct xmlns Matthew Wild 2009-08-11
mod_bosh: Calculate rid difference just once Matthew Wild 2009-08-11
mod_bosh: Basic handling of rids (more to come) Matthew Wild 2009-08-11