diff options
author | Kim Alvefur <zash@zash.se> | 2020-10-12 20:21:18 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-10-12 20:21:18 +0200 |
commit | a63b4e5cc449601e94a9a48756ea0200c6410d02 (patch) | |
tree | e3fa96e3e085462d6056340bf2defc0b8775ee0e /net/http/server.lua | |
parent | 282471bcaf402ce69a46f280e8eeb15fbada360f (diff) | |
download | prosody-a63b4e5cc449601e94a9a48756ea0200c6410d02.tar.gz prosody-a63b4e5cc449601e94a9a48756ea0200c6410d02.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 'net/http/server.lua')
0 files changed, 0 insertions, 0 deletions