Software /
code /
prosody
Comparison
spec/util_throttle_spec.lua @ 11637:19cddf92fcc2
util.dbuffer: Fix bugs, remove multi-char support (more complex than first thought)
Character sequences could be split across chunk boundaries. Would require a bunch
of code to make that work reliably.
Only apply front_consumed on first chunk, and adjust buffer_pos accordingly.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 29 Jun 2021 14:25:57 +0100 |
parent | 9993:02a41315d275 |
child | 13399:f4415f76727b |
comparison
equal
deleted
inserted
replaced
11636:11e0a0a08da3 | 11637:19cddf92fcc2 |
---|