Changeset

11546:b21d8c286973 0.11

util.xmppstream: Mark bytes for stream closure as handled
author Matthew Wild <mwild1@gmail.com>
date Mon, 10 May 2021 17:02:37 +0100
parents 11545:7b8a482f4efd
children 11547:dd21eb632f52
files util/xmppstream.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/xmppstream.lua	Mon May 10 17:01:38 2021 +0100
+++ b/util/xmppstream.lua	Mon May 10 17:02:37 2021 +0100
@@ -188,6 +188,9 @@
 				stanza = t_remove(stack);
 			end
 		else
+			if lxp_supports_bytecount then
+				cb_handleprogress(stanza_size);
+			end
 			if cb_streamclosed then
 				cb_streamclosed(session);
 			end