Diff

util-src/compat.c @ 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 (2020-10-12)
parent 9561:cfc7b2f7251e
child 12976:a187600ec7d6
line wrap: on
line diff