Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 0.11->trunk | Matthew Wild | 2020-09-29 | 1 | -76/+106 |
|\ | |||||
| * | mod_websocket: Refactor frame validity checking, also check ↵ | Matthew Wild | 2020-09-29 | 1 | -77/+95 |
| | | | | | | | | partially-received frames against constraints | ||||
| * | mod_websocket: Continue to process data already in the buffer after an error ↵ | Matthew Wild | 2020-09-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | occurs Previously any error, or even a normal websocket close frame, would return early, leaving potentially entire frames in the buffer unprocessed and then discarded. This change stops processing new data, but returns an existing processed data up to the point of the error/close. | ||||
| * | mod_websocket: Enforce stanza size limit and close stream | Matthew Wild | 2020-09-17 | 1 | -0/+4 |
| | | |||||
| * | mod_websocket: Add separate limit for frame buffer size | Matthew Wild | 2020-09-17 | 1 | -2/+2 |
| | | |||||
| * | mod_websocket: handle full frame buffer and raise stream error | Matthew Wild | 2020-09-17 | 1 | -1/+5 |
| | | |||||
| * | mod_websocket: Switch partial frame buffering to util.dbuffer | Matthew Wild | 2020-09-17 | 1 | -3/+8 |
| | | | | | | | | | | This improves performance and enforces stanza size limits earlier in the pipeline. | ||||
| * | mod_websocket: Fire event on session creation (thanks Aaron van Meerten) | Matthew Wild | 2020-01-24 | 1 | -0/+2 |
| | | |||||
* | | mod_bosh, mod_websocket: Add config options to override GET responses | Matthew Wild | 2020-04-20 | 1 | -3/+7 |
| | | |||||
* | | mod_websocket: Fire event on session creation (thanks Aaron van Meerten) | Matthew Wild | 2020-01-24 | 1 | -0/+2 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2020-01-02 | 1 | -0/+1 |
|\| | |||||
| * | mod_websocket: Clear mask bit when reflecting ping frames (fixes #1484) | Kim Alvefur | 2020-01-02 | 1 | -0/+1 |
| | | |||||
* | | mod_websocket: Guard against upgrading to websocket from a HEAD request | Kim Alvefur | 2019-10-12 | 1 | -1/+1 |
| | | |||||
* | | plugins: Remove tostring call from logging | Kim Alvefur | 2019-07-30 | 1 | -1/+1 |
| | | | | | | | | | | | | Taken care of by loggingmanager now Mass-rewrite using lua pattern like `tostring%b()` | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-07-28 | 1 | -0/+1 |
|\| | |||||
| * | mod_websocket: Clone stanza before mutating (fixes #1398) | Kim Alvefur | 2019-07-20 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | Checking for `stanza.attr.xmlns == nil` to determine if the stanza object is an actual stanza (`<message>`, `<presence>` or `<iq>` in the `jabber:client` or `jabbber:server` namespace) or some other stream element. Since this mutation is not reverted, it may leak to other places and cause them to mistreat stanzas as stream elements. Especially in cases like MUC where a single stanza is broadcast to many recipients. | ||||
| * | mod_websocket: Log an error if cross_domain_websocket = true is set in a ↵ | Kim Alvefur | 2019-01-22 | 1 | -0/+5 |
| | | | | | | | | VirtualHost section | ||||
| * | mod_websocket: Include the value of cross_domain_websocket in debug message | Kim Alvefur | 2019-01-18 | 1 | -1/+1 |
| | | |||||
* | | mod_bosh, mod_websocket: Remove accidentally included dependency on ↵ | Kim Alvefur | 2019-01-19 | 1 | -1/+0 |
| | | | | | | | | non-existant module | ||||
* | | mod_websocket: Drop CORS code in favor of that in mod_http | Kim Alvefur | 2018-10-04 | 1 | -34/+4 |
|/ | | | | | Like for mod_bosh, deprecates consider_websocket_secure and depend on mod_http_crossdomain if it is set. | ||||
* | mod_websocket: Silence the one warning instead of ignoring the entire file | Kim Alvefur | 2018-09-30 | 1 | -0/+2 |
| | |||||
* | mod_websocket: Serve HTTP in global context | Kim Alvefur | 2018-09-22 | 1 | -9/+10 |
| | |||||
* | Merge 0.10 -> trunk | Matthew Wild | 2018-05-16 | 1 | -0/+1 |
|\ | | | | | | | | | This commit intentionally drops changes from c2b99fa134b3 and 8da11142fabf which are based on older MUC code. | ||||
| * | mod_websocket: Store the request object on the session for use by other modules | Matthew Wild | 2018-05-08 | 1 | -0/+1 |
| | | |||||
* | | mod_websocket: Transfer IP address derived by mod_http | Kim Alvefur | 2018-03-15 | 1 | -0/+4 |
|/ | |||||
* | mod_websocket: Convert set to string (syslog sink needs a better fix) | Kim Alvefur | 2017-05-16 | 1 | -1/+1 |
| | |||||
* | mod_websocket: Log state of cross domain set after changing it | Kim Alvefur | 2017-04-03 | 1 | -0/+1 |
| | |||||
* | mod_websocket: Make open_stream method behave like the one from util.xmppstream | Kim Alvefur | 2017-03-02 | 1 | -2/+5 |
| | |||||
* | mod_websocket: Include xml:lang attribute on stream <open> (fixes #840) | Kim Alvefur | 2017-03-02 | 1 | -0/+1 |
| | |||||
* | mod_websocket: Set connections starttls method to false to prevent mod_tls ↵ | Kim Alvefur | 2017-02-25 | 1 | -0/+2 |
| | | | | from offering starttls (fixes #837) | ||||
* | mod_websocket: Allow per-host cross_domain_websocket, defaulting to the base ↵ | Kim Alvefur | 2016-12-05 | 1 | -2/+6 |
| | | | | URL of the current host | ||||
* | mod_websocket: Add the base URL of each host module is enabled on to ↵ | Kim Alvefur | 2016-12-05 | 1 | -0/+13 |
| | | | | 'cross_domain_websocket' | ||||
* | mod_websocket: Verify that the client-sent Origin header matches ↵ | Kim Alvefur | 2016-12-05 | 1 | -9/+13 |
| | | | | cross_domain_websocket (fixes #652) | ||||
* | mod_websocket: Use contains_token from util.http for checking if the ↵ | Kim Alvefur | 2016-12-04 | 1 | -4/+2 |
| | | | | requested WebSocket sub-protocols include XMPP | ||||
* | mod_websocket: Add some debug messages | Kim Alvefur | 2016-12-04 | 1 | -0/+3 |
| | |||||
* | mod_websocket: Set FIN flag on ping frames (fixes #773) | Kim Alvefur | 2016-11-04 | 1 | -1/+1 |
| | |||||
* | mod_websocket: Fix read timeout handler (thanks mt) | Kim Alvefur | 2016-04-06 | 1 | -1/+4 |
| | |||||
* | mod_websocket: Send a ping on read timeout | Kim Alvefur | 2016-03-23 | 1 | -0/+7 |
| | |||||
* | mod_websocket: Remove warning about unsolicited pong frames "MAY be sent ↵ | Kim Alvefur | 2016-03-23 | 1 | -2/+1 |
| | | | | unsolicited" per RFC 6455 (thanks mt) | ||||
* | mod_websocket: Make sure stanza xmlns filter runs late in the chain | Kim Alvefur | 2016-03-18 | 1 | -1/+1 |
| | |||||
* | mod_websocket: Silence luacheck warnings | Kim Alvefur | 2015-10-06 | 1 | -1/+2 |
| | |||||
* | mod_websocket: Import util.timer and session close timeout config option ↵ | Kim Alvefur | 2015-10-06 | 1 | -0/+2 |
| | | | | (thanks fairuz) | ||||
* | mod_websocket: Import sessionmanager (fixes traceback) | Kim Alvefur | 2015-08-21 | 1 | -1/+1 |
| | |||||
* | mod_websocket: Initial commit (based on the prosody-modules version) | Florian Zeitz | 2014-09-05 | 1 | -0/+301 |