aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_bosh: Don't tostring() stream:features when passing to session.send().Waqas Hussain2013-06-071-1/+1
|
* mod_bosh: Only return CORS headers if the Origin header is received, and ↵Waqas Hussain2013-06-071-2/+4
| | | | CORS is enabled.
* mod_bosh: Return empty string from the OPTIONS event handler, don't return ↵Waqas Hussain2013-06-071-1/+2
| | | | the response object itself.
* mod_bosh: Rename event handler argument to event, not request.Waqas Hussain2013-06-071-2/+2
|
* Merge 0.9->trunkMatthew Wild2013-06-071-1/+1
|\
| * mod_bosh: Remove logging of request.id, it doesn't exist in the new HTTP ↵Matthew Wild2013-06-071-1/+1
| | | | | | | | server API (thanks Mikael Nordfeldth)
* | mod_bosh: Remove another place we set headers, fixes #348Matthew Wild2013-06-061-1/+0
| |
* | mod_bosh: Clean up handling of response headers, set them only in one placeMatthew Wild2013-06-051-23/+23
| |
* | mod_bosh: Return errors when appropriate (invalid XML, missing sid)Matthew Wild2013-06-051-1/+6
| |
* | mod_bosh: Remove some very verbose loggingMatthew Wild2013-06-051-3/+0
| |
* | Merge 0.9->trunkMatthew Wild2013-06-051-0/+1
|\|
| * mod_bosh: Reset creating_session to prevent putting unnecessary attributes ↵Matthew Wild2013-06-051-0/+1
| | | | | | | | into every BOSH response
* | Merge 0.9->trunkKim Alvefur2013-06-021-1/+1
|\|
| * mod_bosh: Fix traceback in case session is destroyed during the ↵Kim Alvefur2013-06-021-1/+1
| | | | | | | | stream-features event (thanks Biszkopcik)
* | mod_bosh: rename variable for clarityMatthew Wild2013-05-241-2/+2
| |
* | mod_bosh: Some very minor whitespace/layout fixesMatthew Wild2013-05-241-3/+4
|/
* mod_bosh: Add 'Connection: keep-alive' headerMatthew Wild2012-11-221-1/+1
|
* mod_bosh: Add support for stanza filters to BOSH sessions (needed by some ↵Matthew Wild2012-11-221-0/+5
| | | | plugins)
* mod_bosh: Add bosh_max_wait config option, to limit the amount of time a ↵Matthew Wild2012-11-221-2/+4
| | | | client can request for the server to hold open requests
* mod_bosh: Share sessions and inactive_sessions tablesMatthew Wild2012-11-151-2/+2
|
* mod_bosh: Remove redundant code (send stream features in only one place) ↵Matthew Wild2012-08-011-5/+1
| | | | (thanks Zash)
* mod_bosh: Remove troublesome return... continue processing of the streamopen ↵Matthew Wild2012-08-011-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 Wild2012-07-291-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 Wild2012-07-281-2/+1
| | | | as I don't believe it works
* mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, ↵Kim Alvefur2012-07-261-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 Alvefur2012-07-231-1/+1
| | | | originating IP
* mod_bosh: Set Content-Type to text/html for GET response (thanks Medics)Matthew Wild2012-05-151-9/+13
|
* mod_bosh: Remove unused send_buffer variableMatthew Wild2012-04-281-1/+1
|
* mod_bosh: Fix request/response mixupMatthew Wild2012-04-281-1/+1
|
* mod_bosh: Remove unused import of util.timerMatthew Wild2012-04-281-1/+0
|
* mod_bosh: Remove unused import of net.httpserverMatthew Wild2012-04-281-2/+1
|
* mod_bosh: Add routes without trailing-'/', so that both /http-bind and ↵Matthew Wild2012-04-271-0/+3
| | | | /http-bind/ work again
* mod_bosh: Update informational message on GETMatthew Wild2012-04-261-1/+4
|
* mod_bosh: Large commit to update to mod_http/net.http.server APIs. Becomes a ↵Matthew Wild2012-04-251-85/+83
| | | | shared module.
* mod_bosh: Optimisation, store reply_before value as waiting_requests value ↵Matthew Wild2012-04-251-4/+3
| | | | (saves a lookup)
* Merge timber->trunk - thanks everyone!Matthew Wild2012-04-241-1/+1
|\
| * mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global()Kim Alvefur2012-03-151-1/+1
| |
* | Merge with 0.9Matthew Wild2012-04-191-4/+4
|\ \ | |/ |/|
| * mod_bosh: Log error on BOSH parse failure (thanks daurnimator)Matthew Wild2012-04-191-1/+4
| |
* | mod_bosh: Remove unused reference to lxpWaqas Hussain2011-12-141-1/+0
| |
* | mod_bosh: Fixed use of a private HTTP request property.Waqas Hussain2011-12-091-1/+1
| |
* | mod_bosh: Experimental option 'bosh_auto_cork' which witholds any response ↵Matthew Wild2011-12-071-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 Wild2011-12-071-8/+16
| | | | | | | | been added to session.requests. Ensures correct inactivity logic.
* | mod_bosh: Remove a session from inactive_sessions before destroying itMatthew Wild2011-12-071-0/+1
| |
* | mod_bosh: Store time to destroy session in inactive_sessions, removing ↵Matthew Wild2011-12-071-13/+10
|/ | | | dependency on session.bosh_max_inactive in cleanup timer
* mod_bosh: s/xmlns:streams/xmlns:stream/ - fixes #265 (thanks Tim)Matthew Wild2011-09-151-2/+2
|
* mod_bosh: Update to use typed variants of module:get_option(), makes it more ↵Matthew Wild2011-07-201-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 Wild2011-06-281-2/+2
| | | | an extra useless table lookup (thanks Thomas)
* Merge 0.8->trunkMatthew Wild2011-06-071-5/+5
|\
| * Backout commit d6366294f618 which I was testing and didn't mean to push to 0.8Matthew Wild2011-06-051-20/+10
| |