Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_bosh: Update session.conn to point to the current connection (fixes #890) | Kim Alvefur | 2017-04-17 | 1 | -1/+3 |
| | |||||
* | mod_bosh: pcall() core_process_stanza per stanza, to bring in line with ↵ | Matthew Wild | 2013-07-08 | 1 | -1/+4 |
| | | | | other listeners. This ensures that stanzas following a traceback-causing stanza in a request will still be processed (as would happen on normal c2s). | ||||
* | mod_bosh: Only pass stanza to core_process_stanza if it wasn't dropped by ↵ | Matthew Wild | 2013-07-08 | 1 | -1/+3 |
| | | | | filters | ||||
* | mod_bosh: Remove Connection: keep-alive header (conflicts with new ↵ | Matthew Wild | 2013-06-07 | 1 | -1/+1 |
| | | | | net.http.server) | ||||
* | mod_bosh: Fix global write | Matthew Wild | 2013-06-07 | 1 | -1/+2 |
| | |||||
* | mod_bosh: Remove logging of request.id, it doesn't exist in the new HTTP ↵ | Matthew Wild | 2013-06-07 | 1 | -1/+1 |
| | | | | server API (thanks Mikael Nordfeldth) | ||||
* | mod_bosh: Reset creating_session to prevent putting unnecessary attributes ↵ | Matthew Wild | 2013-06-05 | 1 | -0/+1 |
| | | | | into every BOSH response | ||||
* | mod_bosh: Fix traceback in case session is destroyed during the ↵ | Kim Alvefur | 2013-06-02 | 1 | -1/+1 |
| | | | | stream-features event (thanks Biszkopcik) | ||||
* | mod_bosh: Add 'Connection: keep-alive' header | Matthew Wild | 2012-11-22 | 1 | -1/+1 |
| | |||||
* | mod_bosh: Add support for stanza filters to BOSH sessions (needed by some ↵ | Matthew Wild | 2012-11-22 | 1 | -0/+5 |
| | | | | plugins) | ||||
* | mod_bosh: Add bosh_max_wait config option, to limit the amount of time a ↵ | Matthew Wild | 2012-11-22 | 1 | -2/+4 |
| | | | | client can request for the server to hold open requests | ||||
* | mod_bosh: Share sessions and inactive_sessions tables | Matthew Wild | 2012-11-15 | 1 | -2/+2 |
| | |||||
* | mod_bosh: Remove redundant code (send stream features in only one place) ↵ | Matthew Wild | 2012-08-01 | 1 | -5/+1 |
| | | | | (thanks Zash) | ||||
* | mod_bosh: Remove troublesome return... continue processing of the streamopen ↵ | Matthew Wild | 2012-08-01 | 1 | -1/+0 |
| | | | | after session creation (because since 16c7b510694b we no longer send an early response) | ||||
* | mod_bosh: Correctly handle data included in the session initiation request, ↵ | Matthew Wild | 2012-07-29 | 1 | -37/+43 |
| | | | | and cork session while a request is being processed, preventing replying to requests when there may be more data to come, reducing round-trips. | ||||
* | mod_bosh: Backout revision bc0a68cae236 (experimental bosh_auto_cork option) ↵ | Matthew Wild | 2012-07-28 | 1 | -2/+1 |
| | | | | as I don't believe it works | ||||
* | mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, ↵ | Kim Alvefur | 2012-07-26 | 1 | -1/+1 |
| | | | | mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table. | ||||
* | mod_bosh: Use new format for headers when checking for proxies to get the ↵ | Kim Alvefur | 2012-07-23 | 1 | -1/+1 |
| | | | | originating IP | ||||
* | mod_bosh: Set Content-Type to text/html for GET response (thanks Medics) | Matthew Wild | 2012-05-15 | 1 | -9/+13 |
| | |||||
* | mod_bosh: Remove unused send_buffer variable | Matthew Wild | 2012-04-28 | 1 | -1/+1 |
| | |||||
* | mod_bosh: Fix request/response mixup | Matthew Wild | 2012-04-28 | 1 | -1/+1 |
| | |||||
* | mod_bosh: Remove unused import of util.timer | Matthew Wild | 2012-04-28 | 1 | -1/+0 |
| | |||||
* | mod_bosh: Remove unused import of net.httpserver | Matthew Wild | 2012-04-28 | 1 | -2/+1 |
| | |||||
* | mod_bosh: Add routes without trailing-'/', so that both /http-bind and ↵ | Matthew Wild | 2012-04-27 | 1 | -0/+3 |
| | | | | /http-bind/ work again | ||||
* | mod_bosh: Update informational message on GET | Matthew Wild | 2012-04-26 | 1 | -1/+4 |
| | |||||
* | mod_bosh: Large commit to update to mod_http/net.http.server APIs. Becomes a ↵ | Matthew Wild | 2012-04-25 | 1 | -85/+83 |
| | | | | shared module. | ||||
* | mod_bosh: Optimisation, store reply_before value as waiting_requests value ↵ | Matthew Wild | 2012-04-25 | 1 | -4/+3 |
| | | | | (saves a lookup) | ||||
* | Merge timber->trunk - thanks everyone! | Matthew Wild | 2012-04-24 | 1 | -1/+1 |
|\ | |||||
| * | mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global() | Kim Alvefur | 2012-03-15 | 1 | -1/+1 |
| | | |||||
* | | Merge with 0.9 | Matthew Wild | 2012-04-19 | 1 | -4/+4 |
|\ \ | |/ |/| | |||||
| * | mod_bosh: Log error on BOSH parse failure (thanks daurnimator) | Matthew Wild | 2012-04-19 | 1 | -1/+4 |
| | | |||||
* | | 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 |
| |