mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_csi_simple: Forget queue counter when disabling optimizations
Otherwise it might not start from zero when enabled again.
This commit is contained in:
parent
cabd89913a
commit
859c3650e5
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ end
|
|||
function disable_optimizations(session)
|
||||
filters.remove_filter(session, "stanzas/out", manage_buffer);
|
||||
filters.remove_filter(session, "bytes/in", flush_buffer);
|
||||
session.csi_counter = nil;
|
||||
if session.conn and session.conn.resume_writes then
|
||||
session.conn:resume_writes();
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue