Log

plugins/mod_bosh.lua @ 11885:197642f9972f

description author age
mod_c2s,etc: Identify stanza object with appropriate function Kim Alvefur Sun, 24 Oct 2021 15:17:01 +0200
mod_bosh: Fix typo in comment Kim Alvefur Sun, 19 Sep 2021 16:28:16 +0200
mod_bosh,mod_websocket: Make into global-shared modules (...again) Kim Alvefur Mon, 21 Jun 2021 22:50:23 +0200
mod_bosh: Add todo to use util.session to create session object Kim Alvefur Thu, 29 Jul 2021 20:04:57 +0200
Fix various spelling errors (thanks codespell) Kim Alvefur Tue, 27 Jul 2021 00:13:18 +0200
Merge 0.11->trunk Matthew Wild Thu, 13 May 2021 11:17:13 +0100
mod_c2s, mod_s2s, mod_component, mod_bosh, mod_websockets: Set default stanza size limits 0.11 Matthew Wild Fri, 07 May 2021 17:03:49 +0100
mod_bosh: Include warning if endpoint accessed insecurely (#1172) Kim Alvefur Sun, 21 Feb 2021 06:18:22 +0100
mod_bosh: Use message template from mod_http_error Kim Alvefur Sun, 21 Feb 2021 06:17:40 +0100
mod_bosh: Count connection attempts non-VirtualHost as "bad host" (stats) Kim Alvefur Sat, 03 Oct 2020 15:09:12 +0200
Merge 0.11->trunk Kim Alvefur Sat, 03 Oct 2020 15:07:48 +0200
mod_bosh: Ensure that stream is directed to a VirtualHost (fixes #425) 0.11 Kim Alvefur Sat, 03 Oct 2020 15:03:09 +0200
mod_bosh: Pick out the 'wait' before checking it instead of earlier 0.11 Kim Alvefur Sat, 03 Oct 2020 14:59:11 +0200
mod_bosh, mod_websocket: Add config options to override GET responses Matthew Wild Mon, 20 Apr 2020 11:30:59 +0100
mod_bosh: Abort early if request is missing hostname Kim Alvefur Sat, 02 Nov 2019 15:29:13 +0100
plugins: Remove tostring call from logging Kim Alvefur Tue, 30 Jul 2019 02:29:36 +0200
mod_bosh: Added metrics for active/inactive sessions, new BOSH sessions, BOSH errors, and timeouts (finishes #998) Arc Riley Fri, 03 May 2019 04:10:31 -0700
mod_bosh, mod_websocket: Remove accidentally included dependency on non-existant module Kim Alvefur Sat, 19 Jan 2019 20:03:04 +0100
mod_bosh: Drop CORS code in favor of than in mod_http Kim Alvefur Thu, 04 Oct 2018 12:23:06 +0200
mod_bosh: Handle missing wait attribute (fixes #1288) 0.11 Kim Alvefur Thu, 10 Jan 2019 13:07:22 +0100
mod_bosh: Fire stream feature event on hosts (thanks gerald) Kim Alvefur Mon, 24 Sep 2018 17:46:51 +0200
mod_bosh: Make BOSH global again! Kim Alvefur Sat, 22 Sep 2018 00:01:21 +0200
mod_bosh: Add extra debug logging to help with #1134 Kim Alvefur Tue, 15 May 2018 01:22:35 +0200
Merge 0.10->trunk Matthew Wild Wed, 30 May 2018 21:40:00 +0100
mod_bosh: Store the normalized hostname on session (fixes #1151) Kim Alvefur Wed, 30 May 2018 10:58:19 +0200
mod_bosh: Fix inconsistent whitespace [luacheck] Kim Alvefur Tue, 01 May 2018 18:21:57 +0200
mod_bosh: Fix for 7be8f649d97d to skip error handling and allow other modules to handle the request Matthew Wild Sun, 29 Apr 2018 22:15:44 +0100
mod_bosh: Increase number of stored responses to ensure we always keep responses within the rid window available Matthew Wild Wed, 11 Apr 2018 13:24:37 +0100
mod_bosh: Improve connection robustness with better handling of unexpected rids Matthew Wild Tue, 10 Apr 2018 20:34:29 +0100
mod_bosh: Some additonal comments to improve code readability Matthew Wild Tue, 10 Apr 2018 20:30:20 +0100
mod_bosh: Whitespace Matthew Wild Tue, 10 Apr 2018 20:29:46 +0100
mod_bosh: Improve logging - parse errors will now log through the session logger if possible Matthew Wild Tue, 10 Apr 2018 20:28:59 +0100
mod_bosh: Improve logging on session close (reason may be a table with params) Matthew Wild Tue, 10 Apr 2018 20:25:12 +0100
mod_http: Set request.ip on all HTTP requests (moves code out of mod_bosh) (fixes #540) Kim Alvefur Thu, 15 Mar 2018 17:22:49 +0100
mod_bosh: Return implicit 404 instead of the proper BOSH terminate thing Kim Alvefur Wed, 27 Dec 2017 01:00:34 +0100
mod_bosh: Limit stream to current host (fixes #371) Kim Alvefur Wed, 13 Dec 2017 15:34:53 +0100
mod_bosh: Make into a normal module (fixes #402) Kim Alvefur Wed, 13 Dec 2017 15:24:02 +0100
mod_bosh: Use module API to fire events Kim Alvefur Wed, 13 Dec 2017 17:31:31 +0100
mod_bosh: Use moduleapi logger Kim Alvefur Wed, 13 Dec 2017 15:23:29 +0100
mod_bosh: Rename variable to avoid name clash [luacheck] Kim Alvefur Wed, 13 Dec 2017 15:31:21 +0100
mod_bosh: Ignore unused argument [luacheck] Kim Alvefur Wed, 13 Dec 2017 15:30:37 +0100
mod_bosh: Remove unused variable [luacheck] Kim Alvefur Wed, 13 Dec 2017 15:30:11 +0100
Merge 0.10 -> trunk Matthew Wild Fri, 28 Jul 2017 23:47:38 +0100
mod_bosh: Add ::1 to the default trusted_proxies. Emmanuel Gil Peyrot Sun, 16 Jul 2017 19:25:15 +0100
Merge 0.10->trunk Kim Alvefur Thu, 20 Apr 2017 00:41:49 +0200
Merge 0.9->0.10 Kim Alvefur Wed, 19 Apr 2017 20:02:58 +0200
mod_bosh: Update session.conn to point to the current connection (fixes #890) Kim Alvefur Mon, 17 Apr 2017 21:40:06 +0200
Merge 0.10->trunk Matthew Wild Wed, 07 Sep 2016 19:33:14 +0100
mod_bosh: Save last response in case retransmission is required Sam Whited Wed, 07 Sep 2016 19:32:29 +0100
mod_bosh: Update BOSH wait timeout logic to work despite the addition of deferred requests Matthew Wild Fri, 02 Sep 2016 23:25:11 +0100
mod_bosh: Fix typo Matthew Wild Fri, 02 Sep 2016 23:24:40 +0100
Merge 0.10->trunk Matthew Wild Fri, 02 Sep 2016 23:00:43 +0100
mod_bosh: Make 'hold' and 'requests' fixed to '1' and '2' respectively, as this is what all implementations realistically use Matthew Wild Fri, 02 Sep 2016 22:13:54 +0100
mod_bosh: Log when a stanza isn't handled because we can't find a session for it Matthew Wild Fri, 02 Sep 2016 21:57:40 +0100
mod_bosh: Correctly handle requests arriving out of order (thanks Jitsi folk!) Matthew Wild Fri, 02 Sep 2016 21:57:22 +0100
mod_bosh: Fix merge mistakes from c8923f882274 Kim Alvefur Thu, 14 Jul 2016 18:57:30 +0200
mod_bosh: Add annotations to ignore unused arguments [luacheck] Kim Alvefur Tue, 19 Apr 2016 18:00:04 +0200
mod_bosh: Remove unused imports (also mistake in merge) Kim Alvefur Tue, 19 Apr 2016 17:59:49 +0200
mod_bosh: Fix imports that got lost in merge Kim Alvefur Tue, 19 Apr 2016 17:59:22 +0200
Merge 0.10->trunk Kim Alvefur Tue, 19 Apr 2016 17:44:11 +0200
mod_bosh: Don't decrement rid twice (thanks av6) Kim Alvefur Tue, 19 Apr 2016 17:44:04 +0200
Merge 0.10->trunk Kim Alvefur Tue, 19 Apr 2016 17:10:42 +0200
mod_bosh: Reject fractional 'wait' (See #343) Kim Alvefur Tue, 19 Apr 2016 12:33:58 +0200
mod_bosh: Return a proper BOSH error response from XML parse error callback (see #343) Kim Alvefur Tue, 19 Apr 2016 12:19:15 +0200
mod_bosh: Validate that 'sid' and 'wait' have sane values (fixes #475, also see #343) Kim Alvefur Tue, 19 Apr 2016 12:18:19 +0200
mod_bosh: Validate 'to' host (see #343) Kim Alvefur Tue, 19 Apr 2016 12:17:00 +0200
mod_bosh: Return a proper BOSH error response instead of deprecated(?) status code (See #343) Kim Alvefur Tue, 19 Apr 2016 12:16:17 +0200
mod_bosh: Log error returned from stream:feed() Kim Alvefur Tue, 19 Apr 2016 12:15:20 +0200
mod_bosh: Return if a response has been sent already (See #343) Kim Alvefur Tue, 19 Apr 2016 12:14:07 +0200
mod_bosh: Remove unused import Kim Alvefur Tue, 19 Apr 2016 12:13:03 +0200
Update every link to the documentation to use HTTPS Emmanuel Gil Peyrot Sat, 16 Apr 2016 21:08:05 +0100
Merge 0.10->trunk Kim Alvefur Sat, 02 Apr 2016 17:13:12 +0200
mod_bosh: Skip sending stanzas removed out by filters (fixes #657) Kim Alvefur Fri, 01 Apr 2016 18:56:26 +0200
Merge 0.10->trunk Kim Alvefur Thu, 17 Mar 2016 18:04:43 +0100
Backed out BOSH use of util.async (changeset f0687c313cf1) Kim Alvefur Thu, 17 Mar 2016 12:46:52 +0100
Merge 0.10->trunk Matthew Wild Mon, 04 Jan 2016 09:14:57 +0000
mod_bosh: Fire event when BOSH session is created Matthew Wild Mon, 04 Jan 2016 09:14:30 +0000
mod_bosh: Instead of a global once-per-second timer add a timer for each session when needed Kim Alvefur Mon, 07 Dec 2015 19:44:08 +0100
mod_bosh: Use util.async Kim Alvefur Sun, 07 Dec 2014 17:56:25 +0100
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
mod_bosh, mod_c2s: No longer fire stream-features globally (nobody uses it, and shared modules make it easy for global modules to hook per-host now) Matthew Wild Mon, 15 Jul 2013 11:44:49 +0100
Merge 0.9->trunk Matthew Wild Tue, 09 Jul 2013 00:04:30 +0100
mod_bosh: pcall() core_process_stanza per stanza, to bring in line with other listeners. This ensures that stanzas following a traceback-causing stanza in a request will still be processed (as would happen on normal c2s). Matthew Wild Mon, 08 Jul 2013 23:59:27 +0100
mod_bosh: Only pass stanza to core_process_stanza if it wasn't dropped by filters Matthew Wild Mon, 08 Jul 2013 23:42:54 +0100
Merge 0.9->trunk Matthew Wild Tue, 11 Jun 2013 21:50:41 +0100
mod_bosh: Remove Connection: keep-alive header (conflicts with new net.http.server) Matthew Wild Fri, 07 Jun 2013 17:47:49 +0100
mod_bosh: Fix global write Matthew Wild Fri, 07 Jun 2013 17:47:27 +0100
mod_bosh: Reduce a little code. Waqas Hussain Tue, 11 Jun 2013 12:55:47 -0400
mod_bosh: Make waiting_requests and dead_sessions shared to preserve across reloads Matthew Wild Sat, 08 Jun 2013 18:08:18 +0100
mod_bosh: Don't tostring() stream:features when passing to session.send(). Waqas Hussain Fri, 07 Jun 2013 16:26:08 -0400
mod_bosh: Only return CORS headers if the Origin header is received, and CORS is enabled. Waqas Hussain Fri, 07 Jun 2013 14:20:13 -0400
mod_bosh: Return empty string from the OPTIONS event handler, don't return the response object itself. Waqas Hussain Fri, 07 Jun 2013 13:24:56 -0400
mod_bosh: Rename event handler argument to event, not request. Waqas Hussain Fri, 07 Jun 2013 13:21:38 -0400
Merge 0.9->trunk Matthew Wild Fri, 07 Jun 2013 13:23:04 +0100
mod_bosh: Remove logging of request.id, it doesn't exist in the new HTTP server API (thanks Mikael Nordfeldth) Matthew Wild Fri, 07 Jun 2013 13:22:13 +0100
mod_bosh: Remove another place we set headers, fixes #348 Matthew Wild Thu, 06 Jun 2013 14:48:41 +0100
mod_bosh: Clean up handling of response headers, set them only in one place Matthew Wild Wed, 05 Jun 2013 21:41:27 +0100
mod_bosh: Return errors when appropriate (invalid XML, missing sid) Matthew Wild Wed, 05 Jun 2013 21:39:56 +0100
mod_bosh: Remove some very verbose logging Matthew Wild Wed, 05 Jun 2013 21:37:33 +0100
Merge 0.9->trunk Matthew Wild Wed, 05 Jun 2013 21:36:29 +0100
mod_bosh: Reset creating_session to prevent putting unnecessary attributes into every BOSH response Matthew Wild Wed, 05 Jun 2013 21:35:50 +0100
Merge 0.9->trunk Kim Alvefur Sun, 02 Jun 2013 19:27:45 +0200
mod_bosh: Fix traceback in case session is destroyed during the stream-features event (thanks Biszkopcik) Kim Alvefur Sun, 02 Jun 2013 19:25:53 +0200
mod_bosh: rename variable for clarity Matthew Wild Fri, 24 May 2013 18:38:36 +0100
mod_bosh: Some very minor whitespace/layout fixes Matthew Wild Fri, 24 May 2013 18:37:07 +0100
mod_bosh: Add 'Connection: keep-alive' header Matthew Wild Thu, 22 Nov 2012 19:37:30 +0000
mod_bosh: Add support for stanza filters to BOSH sessions (needed by some plugins) Matthew Wild Thu, 22 Nov 2012 19:35:50 +0000
mod_bosh: Add bosh_max_wait config option, to limit the amount of time a client can request for the server to hold open requests Matthew Wild Thu, 22 Nov 2012 18:24:09 +0000
mod_bosh: Share sessions and inactive_sessions tables Matthew Wild Thu, 15 Nov 2012 13:18:41 -0500
mod_bosh: Remove redundant code (send stream features in only one place) (thanks Zash) Matthew Wild Wed, 01 Aug 2012 01:03:53 +0100
mod_bosh: Remove troublesome return... continue processing of the streamopen after session creation (because since 16c7b510694b we no longer send an early response) Matthew Wild Wed, 01 Aug 2012 00:39:54 +0100
mod_bosh: Correctly handle data included in the session initiation request, and cork session while a request is being processed, preventing replying to requests when there may be more data to come, reducing round-trips. Matthew Wild Sun, 29 Jul 2012 01:56:45 +0100
mod_bosh: Backout revision bc0a68cae236 (experimental bosh_auto_cork option) as I don't believe it works Matthew Wild Sat, 28 Jul 2012 18:50:04 +0100
mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table. Kim Alvefur Thu, 26 Jul 2012 04:33:17 +0200
mod_bosh: Use new format for headers when checking for proxies to get the originating IP Kim Alvefur Mon, 23 Jul 2012 23:05:32 +0200
mod_bosh: Set Content-Type to text/html for GET response (thanks Medics) Matthew Wild Tue, 15 May 2012 13:35:09 +0100
mod_bosh: Remove unused send_buffer variable Matthew Wild Sat, 28 Apr 2012 14:03:39 +0100
mod_bosh: Fix request/response mixup Matthew Wild Sat, 28 Apr 2012 13:58:37 +0100
mod_bosh: Remove unused import of util.timer Matthew Wild Sat, 28 Apr 2012 13:58:13 +0100
mod_bosh: Remove unused import of net.httpserver Matthew Wild Sat, 28 Apr 2012 00:45:33 +0100