Software / code / prosody
Diff
plugins/mod_register.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 | 9608:3e44b8dc2cc0 |
| child | 11013:bb010c3c8c93 |