Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | net: Prefix module imports with prosody namespace | Kim Alvefur | 2023-03-17 | 1 | -5/+5 |
| | |||||
* | net.websocket.frames: Replace bit fiddling code with util.struct | Kim Alvefur | 2022-03-06 | 1 | -48/+13 |
| | | | | | | Fallback code for not having either the string.pack and string.unpack functions available in Lua 5.4 or the struct lib is no longer needed since the struct lib was imported as util.struct in 3ce3633527af | ||||
* | Merge 0.11->trunk | Matthew Wild | 2020-10-15 | 1 | -23/+7 |
|\ | |||||
| * | net.websocket.frames: Use C string XOR implementation | Kim Alvefur | 2020-10-14 | 1 | -23/+7 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2020-10-12 | 1 | -3/+3 |
|\| | |||||
| * | 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. | ||||
* | | Merge 0.11->trunk | Matthew Wild | 2020-09-29 | 1 | -9/+13 |
|\| | |||||
| * | 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. | ||||
* | | util.bitops: Library to find appropriate bitwise library (closes #1395) | Kim Alvefur | 2019-07-22 | 1 | -2/+1 |
| | | |||||
* | | lint: Remove use of the 143 error code | Kim Alvefur | 2018-12-08 | 1 | -2/+2 |
| | | | | | | | | Does not appear to be invoked by anything | ||||
* | | various: Don't rely on _G.unpack existing | Kim Alvefur | 2018-12-08 | 1 | -0/+1 |
| | | |||||
* | | net.websocket.frames: Prefer Lua 5.2 built-in bit module over LuaJIT version | Kim Alvefur | 2018-11-29 | 1 | -1/+1 |
|/ | | | | | | When running on Lua 5.2 this makes sense since bit32 is usually already loaded. It's sensible to prefer this going forward in case of incompatibilities between the two variants. | ||||
* | 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 |