Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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: 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 |
|/ | |||||
* | mod_bosh: Set session.ip for BOSH sessions. | Waqas Hussain | 2009-11-18 | 1 | -0/+1 |
| | |||||
* | Changed separator between attribute names and prefixes from '|' to '\1' ↵ | Waqas Hussain | 2009-11-12 | 1 | -2/+2 |
| | | | | (optimization and cleanup). | ||||
* | mod_bosh: Update to use new httpserver.new_from_config syntax | Matthew Wild | 2009-10-03 | 1 | -1/+1 |
| | |||||
* | Merge with 0.5 | Matthew Wild | 2009-10-02 | 1 | -1/+10 |
|\ | |||||
| * | mod_bosh: Fix for 'invalid key to next' error when 2 clients lose connection ↵ | Matthew Wild | 2009-10-02 | 1 | -1/+10 |
| | | | | | | | | at the same time | ||||
* | | mod_bosh: Strip BOSH namespace from stanzas to allow for some clients which ↵ | Matthew Wild | 2009-08-11 | 1 | -1/+2 |
| | | | | | | | | may send them without the correct xmlns | ||||
* | | mod_bosh: Calculate rid difference just once | Matthew Wild | 2009-08-11 | 1 | -3/+3 |
| | | |||||
* | | mod_bosh: Basic handling of rids (more to come) | Matthew Wild | 2009-08-11 | 1 | -1/+16 |
| | | |||||
* | | mod_bosh: Correct reply when closing sessions | Matthew Wild | 2009-08-11 | 1 | -2/+1 |
| | | |||||
* | | mod_bosh: Updated to use module:get_option instead of configmanager | Waqas Hussain | 2009-08-09 | 1 | -8/+6 |
|/ | |||||
* | mod_bosh: Fix error reply for host-unknown errors | Matthew Wild | 2009-08-05 | 1 | -2/+2 |
| | |||||
* | mod_bosh: Update to use new new_from_config() | Matthew Wild | 2009-07-14 | 1 | -1/+1 |
| |