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