Commit graph

14 commits

Author SHA1 Message Date
Kim Alvefur
a8b096516b lint: Remove use of the 143 error code
Does not appear to be invoked by anything
2018-12-08 17:10:51 +01:00
Kim Alvefur
6dcf53f7b2 various: Don't rely on _G.unpack existing 2018-12-08 17:09:55 +01:00
Kim Alvefur
2e3e5db959 net.websocket.frames: Prefer Lua 5.2 built-in bit module over LuaJIT version
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.
2018-11-29 16:53:22 +01:00
Kim Alvefur
b1235c60a7 Fix spelling throughout the codebase [codespell] 2018-02-04 01:51:25 +01:00
Kim Alvefur
8053e6cd90 net.websocket.frames: Ignore Lua 5.3-only fields [luacheck] 2017-12-02 02:12:06 +01:00
Matthew Wild
a05d69fc1f net.websocket.frames, util.datetime, util.json, util.prosodyctl, util.rfc6724: Remove unused variables [luacheck] 2016-03-10 17:52:03 +00:00
Kim Alvefur
68c49f314e net.websocket.frames: Fix syntax error due to code copy pasting 2015-10-06 18:08:58 +02:00
Kim Alvefur
7bff4f9128 net.websocket.frames: Use struct packing in Lua 5.3 or struct lib if available 2015-10-06 18:05:27 +02:00
Kim Alvefur
98b2e87b9d net.websocket.frames: Pack and unpack 64bit ints without overflows (lua-bitop/bit32 are 32bit) 2015-10-06 18:03:04 +02:00
Kim Alvefur
9f7a18228f net.websocket.frames: Link to documentation when bitop is missing 2015-10-06 16:49:01 +02:00
Kim Alvefur
0cd290671a net.websocket.frames: Throw an error if no bit lib is found 2015-10-06 16:26:23 +02:00
Kim Alvefur
e0db9dc960 net.websocket.frames: Simplify import of bitlib 2015-10-06 16:06:22 +02:00
Florian Zeitz
89a01cc8d9 net.websocket: Make data masking configurable 2014-09-26 22:12:21 +02:00
daurnimator
837a1f1df7 net/websocket: Add new websocket client code 2014-09-03 15:28:46 -04:00