Software /
code /
prosody
Diff
util/pubsub.lua @ 11157:413bd21ba449 0.11
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 12 Oct 2020 20:21:18 +0200 |
parent | 10519:641e3b7a6a39 |
child | 10521:cbb2c3f8bb1d |
child | 11565:087b275a9aee |