Software / code / prosody
Diff
util/timer.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 | 9562:acf74ad0b795 |
| child | 10981:e6c1e92cc7a7 |
| child | 11263:1274deeab39a |