changeset 11032 | d7a403060946 |
parent 10984 | eaee72c7afbd |
child 11049 | 8c6bace13229 |
--- a/util/dbuffer.lua Sun Aug 16 20:30:02 2020 +0200 +++ b/util/dbuffer.lua Thu Aug 20 15:22:19 2020 +0100 @@ -142,7 +142,7 @@ local front_chunk = self.items:peek(); - if #front_chunk - self.front_consumed >= bytes then + if not front_chunk or #front_chunk - self.front_consumed >= bytes then return; end