aboutsummaryrefslogtreecommitdiffstats
path: root/util/serialization.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-10-12 20:21:18 +0200
committerKim Alvefur <zash@zash.se>2020-10-12 20:21:18 +0200
commitfb63187afceb8339b6142cc0b96162eb1c9af3b8 (patch)
treee3fa96e3e085462d6056340bf2defc0b8775ee0e /util/serialization.lua
parentd3b3e21720094ca5d4c0c4cf659d6aee4f1b578e (diff)
downloadprosody-fb63187afceb8339b6142cc0b96162eb1c9af3b8.tar.gz
prosody-fb63187afceb8339b6142cc0b96162eb1c9af3b8.zip
net.websocket.frames: Read buffer length correctly in Lua 5.1 (fix #1598)
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.
Diffstat (limited to 'util/serialization.lua')
0 files changed, 0 insertions, 0 deletions