From 7cb3ec61d5117fa1be7077ea9efaef4d4e52ca57 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 10 May 2021 17:02:37 +0100 Subject: util.xmppstream: Mark bytes for stream closure as handled --- util/xmppstream.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/xmppstream.lua b/util/xmppstream.lua index e2c24c8a..57e1def3 100644 --- a/util/xmppstream.lua +++ b/util/xmppstream.lua @@ -188,6 +188,9 @@ local function new_sax_handlers(session, stream_callbacks, cb_handleprogress) stanza = t_remove(stack); end else + if lxp_supports_bytecount then + cb_handleprogress(stanza_size); + end if cb_streamclosed then cb_streamclosed(session); end -- cgit v1.2.3