Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | net.websocket.frames: Read buffer length correctly in Lua 5.1 (fix #1598) | Kim Alvefur | 2020-10-12 | 1 | -3/+3 |
| | | | | | | | COMPAT: The __len metamethod does not work with tables in Lua 5.1. Both strings and util.dbuffer now expose their length as a :len() method. | ||||
* | net.websocket.frames: Additionally return partial frame if there is one | Matthew Wild | 2020-09-29 | 1 | -1/+1 |
| | |||||
* | mod_websocket: Switch partial frame buffering to util.dbuffer | Matthew Wild | 2020-09-17 | 1 | -2/+2 |
| | | | | | This improves performance and enforces stanza size limits earlier in the pipeline. | ||||
* | net.websocket.frames: Allow all methods to work on non-string objects | Matthew Wild | 2020-09-17 | 1 | -10/+15 |
| | | | | | | | | Instead of using the string library, use methods from the passed object, which are assumed to be equivalent. This provides compatibility with objects from util.ringbuffer and util.dbuffer, for example. | ||||
* | Fix spelling throughout the codebase [codespell] | Kim Alvefur | 2018-02-04 | 1 | -2/+2 |
| | |||||
* | net.websocket.frames: Ignore Lua 5.3-only fields [luacheck] | Kim Alvefur | 2017-12-02 | 1 | -2/+2 |
| | |||||
* | net.websocket.frames, util.datetime, util.json, util.prosodyctl, ↵ | Matthew Wild | 2016-03-10 | 1 | -1/+0 |
| | | | | util.rfc6724: Remove unused variables [luacheck] | ||||
* | net.websocket.frames: Fix syntax error due to code copy pasting | Kim Alvefur | 2015-10-06 | 1 | -2/+2 |
| | |||||
* | net.websocket.frames: Use struct packing in Lua 5.3 or struct lib if available | Kim Alvefur | 2015-10-06 | 1 | -0/+25 |
| | |||||
* | net.websocket.frames: Pack and unpack 64bit ints without overflows ↵ | Kim Alvefur | 2015-10-06 | 1 | -4/+6 |
| | | | | (lua-bitop/bit32 are 32bit) | ||||
* | net.websocket.frames: Link to documentation when bitop is missing | Kim Alvefur | 2015-10-06 | 1 | -1/+1 |
| | |||||
* | net.websocket.frames: Throw an error if no bit lib is found | Kim Alvefur | 2015-10-06 | 1 | -2/+2 |
| | |||||
* | net.websocket.frames: Simplify import of bitlib | Kim Alvefur | 2015-10-06 | 1 | -3/+1 |
| | |||||
* | net.websocket: Make data masking configurable | Florian Zeitz | 2014-09-26 | 1 | -2/+2 |
| | |||||
* | net/websocket: Add new websocket client code | daurnimator | 2014-09-03 | 1 | -0/+195 |