Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_c2s, mod_s2s, mod_component, mod_bosh, mod_websockets: Set default ↵ | Matthew Wild | 2021-05-07 | 1 | -1/+2 |
| | | | | | | | | | | | | stanza size limits c2s/bosh/ws streams will default to 256KB, s2s and components to 512KB. These values are aligned with ejabberd's default settings, which should reduce issues related to inconsistent size limits between servers on the XMPP network. The previous default (10MB) is excessive for any production server, and allows significant memory usage by even unauthenticated sessions. | ||||
* | mod_bosh: Ensure that stream is directed to a VirtualHost (fixes #425) | Kim Alvefur | 2020-10-03 | 1 | -0/+16 |
| | |||||
* | mod_bosh: Pick out the 'wait' before checking it instead of earlier | Kim Alvefur | 2020-10-03 | 1 | -1/+2 |
| | | | | | Going to add more host related checks, so to keep the wait variable closer to the related checks | ||||
* | mod_bosh: Handle missing wait attribute (fixes #1288) | Kim Alvefur | 2019-01-10 | 1 | -1/+1 |
| | | | | 250855633092 did not fix this completely. | ||||
* | mod_bosh: Fire stream feature event on hosts (thanks gerald) | Kim Alvefur | 2018-09-24 | 1 | -1/+1 |
| | | | | | Since the module is now global, this event was also fired in a global context by default. | ||||
* | mod_bosh: Make BOSH global again! | Kim Alvefur | 2018-09-22 | 1 | -5/+2 |
| | |||||
* | mod_bosh: Add extra debug logging to help with #1134 | Kim Alvefur | 2018-05-15 | 1 | -0/+6 |
| | |||||
* | mod_bosh: Fix inconsistent whitespace [luacheck] | Kim Alvefur | 2018-05-01 | 1 | -2/+2 |
| | |||||
* | mod_bosh: Fix for 7be8f649d97d to skip error handling and allow other ↵ | Matthew Wild | 2018-04-29 | 1 | -3/+6 |
| | | | | modules to handle the request | ||||
* | mod_bosh: Increase number of stored responses to ensure we always keep ↵ | Matthew Wild | 2018-04-11 | 1 | -1/+1 |
| | | | | responses within the rid window available | ||||
* | mod_bosh: Improve connection robustness with better handling of unexpected rids | Matthew Wild | 2018-04-10 | 1 | -12/+19 |
| | |||||
* | mod_bosh: Some additonal comments to improve code readability | Matthew Wild | 2018-04-10 | 1 | -1/+3 |
| | |||||
* | mod_bosh: Whitespace | Matthew Wild | 2018-04-10 | 1 | -1/+0 |
| | |||||
* | mod_bosh: Improve logging - parse errors will now log through the session ↵ | Matthew Wild | 2018-04-10 | 1 | -1/+2 |
| | | | | logger if possible | ||||
* | mod_bosh: Improve logging on session close (reason may be a table with params) | Matthew Wild | 2018-04-10 | 1 | -1/+1 |
| | |||||
* | mod_http: Set request.ip on all HTTP requests (moves code out of mod_bosh) ↵ | Kim Alvefur | 2018-03-15 | 1 | -17/+1 |
| | | | | (fixes #540) | ||||
* | mod_bosh: Return implicit 404 instead of the proper BOSH terminate thing | Kim Alvefur | 2017-12-27 | 1 | -6/+3 |
| | |||||
* | mod_bosh: Limit stream to current host (fixes #371) | Kim Alvefur | 2017-12-13 | 1 | -2/+1 |
| | |||||
* | mod_bosh: Make into a normal module (fixes #402) | Kim Alvefur | 2017-12-13 | 1 | -16/+12 |
| | |||||
* | mod_bosh: Use module API to fire events | Kim Alvefur | 2017-12-13 | 1 | -2/+2 |
| | |||||
* | mod_bosh: Use moduleapi logger | Kim Alvefur | 2017-12-13 | 1 | -1/+1 |
| | |||||
* | mod_bosh: Rename variable to avoid name clash [luacheck] | Kim Alvefur | 2017-12-13 | 1 | -3/+3 |
| | |||||
* | mod_bosh: Ignore unused argument [luacheck] | Kim Alvefur | 2017-12-13 | 1 | -1/+1 |
| | |||||
* | mod_bosh: Remove unused variable [luacheck] | Kim Alvefur | 2017-12-13 | 1 | -1/+0 |
| | |||||
* | Merge 0.10 -> trunk | Matthew Wild | 2017-07-28 | 1 | -1/+1 |
|\ | |||||
| * | mod_bosh: Add ::1 to the default trusted_proxies. | Emmanuel Gil Peyrot | 2017-07-16 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-04-20 | 1 | -1/+3 |
|\| | |||||
| * | Merge 0.9->0.10 | Kim Alvefur | 2017-04-19 | 1 | -1/+3 |
| |\ | |||||
| | * | mod_bosh: Update session.conn to point to the current connection (fixes #890) | Kim Alvefur | 2017-04-17 | 1 | -1/+3 |
| | | | |||||
* | | | Merge 0.10->trunk | Matthew Wild | 2016-09-07 | 1 | -1/+2 |
|\| | | |||||
| * | | mod_bosh: Save last response in case retransmission is required | Sam Whited | 2016-09-07 | 1 | -1/+2 |
| | | | |||||
* | | | mod_bosh: Update BOSH wait timeout logic to work despite the addition of ↵ | Matthew Wild | 2016-09-02 | 1 | -3/+4 |
| | | | | | | | | | | | | deferred requests | ||||
* | | | mod_bosh: Fix typo | Matthew Wild | 2016-09-02 | 1 | -1/+1 |
| | | | |||||
* | | | Merge 0.10->trunk | Matthew Wild | 2016-09-02 | 1 | -20/+60 |
|\| | | |||||
| * | | mod_bosh: Make 'hold' and 'requests' fixed to '1' and '2' respectively, as ↵ | Matthew Wild | 2016-09-02 | 1 | -11/+17 |
| | | | | | | | | | | | | this is what all implementations realistically use | ||||
| * | | mod_bosh: Log when a stanza isn't handled because we can't find a session for it | Matthew Wild | 2016-09-02 | 1 | -0/+2 |
| | | | |||||
| * | | mod_bosh: Correctly handle requests arriving out of order (thanks Jitsi folk!) | Matthew Wild | 2016-09-02 | 1 | -10/+42 |
| | | | |||||
* | | | mod_bosh: Fix merge mistakes from c8923f882274 | Kim Alvefur | 2016-07-14 | 1 | -5/+18 |
| | | | |||||
* | | | mod_bosh: Add annotations to ignore unused arguments [luacheck] | Kim Alvefur | 2016-04-19 | 1 | -2/+2 |
| | | | |||||
* | | | mod_bosh: Remove unused imports (also mistake in merge) | Kim Alvefur | 2016-04-19 | 1 | -2/+1 |
| | | | |||||
* | | | mod_bosh: Fix imports that got lost in merge | Kim Alvefur | 2016-04-19 | 1 | -0/+2 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2016-04-19 | 1 | -1/+1 |
|\| | | |||||
| * | | mod_bosh: Don't decrement rid twice (thanks av6) | Kim Alvefur | 2016-04-19 | 1 | -1/+1 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2016-04-19 | 1 | -29/+41 |
|\| | | |||||
| * | | mod_bosh: Reject fractional 'wait' (See #343) | Kim Alvefur | 2016-04-19 | 1 | -1/+1 |
| | | | |||||
| * | | mod_bosh: Return a proper BOSH error response from XML parse error callback ↵ | Kim Alvefur | 2016-04-19 | 1 | -2/+3 |
| | | | | | | | | | | | | (see #343) | ||||
| * | | mod_bosh: Validate that 'sid' and 'wait' have sane values (fixes #475, also ↵ | Kim Alvefur | 2016-04-19 | 1 | -3/+14 |
| | | | | | | | | | | | | see #343) | ||||
| * | | mod_bosh: Validate 'to' host (see #343) | Kim Alvefur | 2016-04-19 | 1 | -1/+9 |
| | | | |||||
| * | | mod_bosh: Return a proper BOSH error response instead of deprecated(?) ↵ | Kim Alvefur | 2016-04-19 | 1 | -2/+6 |
| | | | | | | | | | | | | status code (See #343) | ||||
| * | | mod_bosh: Log error returned from stream:feed() | Kim Alvefur | 2016-04-19 | 1 | -2/+3 |
| | | |