aboutsummaryrefslogtreecommitdiffstats
path: root/net/websocket
Commit message (Collapse)AuthorAgeFilesLines
* net.websocket.frames: Use C string XOR implementationKim Alvefur2020-10-141-23/+7
|
* net.websocket.frames: Read buffer length correctly in Lua 5.1 (fix #1598)Kim Alvefur2020-10-121-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 oneMatthew Wild2020-09-291-1/+1
|
* mod_websocket: Switch partial frame buffering to util.dbufferMatthew Wild2020-09-171-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 objectsMatthew Wild2020-09-171-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 Alvefur2018-02-041-2/+2
|
* net.websocket.frames: Ignore Lua 5.3-only fields [luacheck]Kim Alvefur2017-12-021-2/+2
|
* net.websocket.frames, util.datetime, util.json, util.prosodyctl, ↵Matthew Wild2016-03-101-1/+0
| | | | util.rfc6724: Remove unused variables [luacheck]
* net.websocket.frames: Fix syntax error due to code copy pastingKim Alvefur2015-10-061-2/+2
|
* net.websocket.frames: Use struct packing in Lua 5.3 or struct lib if availableKim Alvefur2015-10-061-0/+25
|
* net.websocket.frames: Pack and unpack 64bit ints without overflows ↵Kim Alvefur2015-10-061-4/+6
| | | | (lua-bitop/bit32 are 32bit)
* net.websocket.frames: Link to documentation when bitop is missingKim Alvefur2015-10-061-1/+1
|
* net.websocket.frames: Throw an error if no bit lib is foundKim Alvefur2015-10-061-2/+2
|
* net.websocket.frames: Simplify import of bitlibKim Alvefur2015-10-061-3/+1
|
* net.websocket: Make data masking configurableFlorian Zeitz2014-09-261-2/+2
|
* net/websocket: Add new websocket client codedaurnimator2014-09-031-0/+195