aboutsummaryrefslogtreecommitdiffstats
path: root/net/websocket
Commit message (Collapse)AuthorAgeFilesLines
* Merge 0.11->trunkMatthew Wild2020-09-291-9/+13
|\
| * 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.
* | util.bitops: Library to find appropriate bitwise library (closes #1395)Kim Alvefur2019-07-221-2/+1
| |
* | lint: Remove use of the 143 error codeKim Alvefur2018-12-081-2/+2
| | | | | | | | Does not appear to be invoked by anything
* | various: Don't rely on _G.unpack existingKim Alvefur2018-12-081-0/+1
| |
* | net.websocket.frames: Prefer Lua 5.2 built-in bit module over LuaJIT versionKim Alvefur2018-11-291-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 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