<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://hg.omfa.de/prosody-modules/</link>
    <language>en-us</language>

    <title>prosody-modules: mod_smacks/mod_smacks.lua history</title>
    <description>mod_smacks/mod_smacks.lua revision history</description>
    <item>
    <title>mod_smacks: Send &lt;r&gt; immediately from csi-flushing event</title>
    <link>http://hg.omfa.de/prosody-modules/log/e227af629736/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Send &lt;r&gt; immediately from csi-flushing event<br/>
<br/>
Using a timer serves no purpose in this case, only serves to increase<br/>
the number of write syscalls and TCP segments sent.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Tue, 16 Nov 2021 13:39:49 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Don't forgive client counting errors</title>
    <link>http://hg.omfa.de/prosody-modules/log/367a8020bd92/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Don't forgive client counting errors]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Sun, 07 Nov 2021 14:40:41 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Include username in offline event, mirroring Prosody 0.10+</title>
    <link>http://hg.omfa.de/prosody-modules/log/edbd84bbd8fb/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Include username in offline event, mirroring Prosody 0.10+<br/>
<br/>
See Prosody rev 03714861f8fc and 72a2b85c0537]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 12 Sep 2021 21:14:26 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Use 'smacks_max_inactive_unacked_stanzas' when inactive and no timer</title>
    <link>http://hg.omfa.de/prosody-modules/log/242251ce1036/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Use 'smacks_max_inactive_unacked_stanzas' when inactive and no timer<br/>
<br/>
This separate limit should probably apply also when it somehow doesn't<br/>
have a timer set.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Wed, 28 Jul 2021 16:06:03 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Fix typo in comment (thanks codespell)</title>
    <link>http://hg.omfa.de/prosody-modules/log/ab7dc5c5c782/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Fix typo in comment (thanks codespell)]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Tue, 27 Jul 2021 00:21:42 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Fix traceback on missing stanza counter</title>
    <link>http://hg.omfa.de/prosody-modules/log/921c607617b0/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Fix traceback on missing stanza counter<br/>
<br/>
This shouldn't be possible, yet it was.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 22 Jul 2021 17:26:32 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Include timestamp in hibernation log message</title>
    <link>http://hg.omfa.de/prosody-modules/log/f6f28ceff53a/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Include timestamp in hibernation log message<br/>
<br/>
So that I will never have to wonder &quot;how long? since when&quot; ever again.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Mon, 07 Jun 2021 19:15:28 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Fix calculation of smacks timeout values</title>
    <link>http://hg.omfa.de/prosody-modules/log/4e7aa32f58d9/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Fix calculation of smacks timeout values]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Mon, 12 Apr 2021 14:50:28 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Fix traceback due to session being destroyed in send()</title>
    <link>http://hg.omfa.de/prosody-modules/log/53ee391ca689/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Fix traceback due to session being destroyed in send()<br/>
<br/>
Sending something can cause the OS to notice that the connection is dead<br/>
and then the connection can be dead at this point. More likely if<br/>
opportunistic_writes is enabled.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 01 Apr 2021 11:35:26 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Enable on s2s by default to see what breaks</title>
    <link>http://hg.omfa.de/prosody-modules/log/8bdb9805bb73/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Enable on s2s by default to see what breaks]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Wed, 31 Mar 2021 22:06:23 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Correct field name for session</title>
    <link>http://hg.omfa.de/prosody-modules/log/8b8246031a5e/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Correct field name for session<br/>
<br/>
Fixes another traceback.<br/>
<br/>
I did point out that I was breaking everything.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Tue, 23 Feb 2021 03:22:33 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Only act on CSI state changes if smacks is enabled</title>
    <link>http://hg.omfa.de/prosody-modules/log/5234d0c8883d/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Only act on CSI state changes if smacks is enabled<br/>
<br/>
Fixes attempt to get length of a nil value (local 'queue') in<br/>
request_ack_if_needed()]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Mon, 22 Feb 2021 16:44:40 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Request ack on signal of ongoing CSI flush</title>
    <link>http://hg.omfa.de/prosody-modules/log/3d593b612e07/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Request ack on signal of ongoing CSI flush<br/>
<br/>
Should make it finally behave with mod_csi_simple from Prosody trunk]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Tue, 16 Feb 2021 23:16:05 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Explicitly request ack when leaving CSI-inactive mode</title>
    <link>http://hg.omfa.de/prosody-modules/log/e13eb0f851c8/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Explicitly request ack when leaving CSI-inactive mode<br/>
<br/>
There may be a lot of unacked stanzas in the queue, might as well...]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Tue, 16 Feb 2021 22:49:44 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Do ask for acks while in CSI inactive mode, but less frequent</title>
    <link>http://hg.omfa.de/prosody-modules/log/2f5e52d67928/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Do ask for acks while in CSI inactive mode, but less frequent<br/>
<br/>
Otherwise the unacked stanza queue just grows forever]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Tue, 16 Feb 2021 21:33:39 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Don't ask for acks while in (csi) inactive mode</title>
    <link>http://hg.omfa.de/prosody-modules/log/74da3643c62d/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Don't ask for acks while in (csi) inactive mode<br/>
<br/>
The acks count as high priority events in mod_csi_simple and since<br/>
they're sent after each stanza, it negated all optimizations.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Tue, 16 Feb 2021 19:16:21 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: allow O(1) processing of delayed ack events</title>
    <link>http://hg.omfa.de/prosody-modules/log/0b9501f82e63/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: allow O(1) processing of delayed ack events<br/>
<br/>
This adds a stanza field to the eent if the stanza which triggered this event<br/>
is known exactly.]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Sat, 30 Jan 2021 07:19:35 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: don't store mam results in offline store</title>
    <link>http://hg.omfa.de/prosody-modules/log/22e7b3d6fcae/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: don't store mam results in offline store]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Mon, 12 Oct 2020 17:56:10 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: don't send error replys for error stanzas on session timeout</title>
    <link>http://hg.omfa.de/prosody-modules/log/362997ededb1/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: don't send error replys for error stanzas on session timeout]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Fri, 01 May 2020 22:24:10 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: remove now unused code</title>
    <link>http://hg.omfa.de/prosody-modules/log/9ec23a457f9a/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: remove now unused code]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Tue, 21 Apr 2020 11:26:43 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: fix typo in last commit</title>
    <link>http://hg.omfa.de/prosody-modules/log/c3e9caa29857/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: fix typo in last commit]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Mon, 20 Apr 2020 15:30:56 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: better logging for georg</title>
    <link>http://hg.omfa.de/prosody-modules/log/4e5fde519116/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: better logging for georg]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Mon, 20 Apr 2020 14:49:17 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Fix mam handling</title>
    <link>http://hg.omfa.de/prosody-modules/log/effe2d93a59c/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Fix mam handling]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Mon, 20 Apr 2020 14:40:09 +0200</pubDate>
</item>
<item>
    <title>Merge commit</title>
    <link>http://hg.omfa.de/prosody-modules/log/bf5d91769f99/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[Merge commit]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Sun, 05 Apr 2020 23:39:08 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Update documentation and slightly adjust default values</title>
    <link>http://hg.omfa.de/prosody-modules/log/0957ba6aeb99/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Update documentation and slightly adjust default values]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Sun, 05 Apr 2020 23:37:17 +0200</pubDate>
</item>
<item>
    <title>mod_stanzas: tighten up stanza check and add explanatory text</title>
    <link>http://hg.omfa.de/prosody-modules/log/ebc1f1d962c5/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_stanzas: tighten up stanza check and add explanatory text]]></description>
    <author>&#74;&#67;&#32;&#66;&#114;&#97;&#110;&#100;&#32;&#60;&#106;&#99;&#64;&#111;&#112;&#107;&#111;&#100;&#101;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 27 Mar 2020 11:56:14 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: also count outgoing MAM messages</title>
    <link>http://hg.omfa.de/prosody-modules/log/017f60608fc8/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: also count outgoing MAM messages<br/>
<br/>
mod_smacks doesn't count outgoing MAM messages, which causes warnings in Prosody such as:<br/>
<br/>
&gt; The client says it handled 41 new stanzas, but we only sent 2<br/>
<br/>
It seems mod_smacks is in the wrong here and that it's too strict in trying to determine what is a valid stanza to count.<br/>
<br/>
In RFC6120:<br/>
<br/>
&gt; Definition of XML Stanza:  An XML stanza is the basic unit of meaning<br/>
&gt; in XMPP. A stanza is a first-level element (at depth=1 of the stream)<br/>
&gt; whose element name is &quot;message&quot;, &quot;presence&quot;, or &quot;iq&quot; and  whose<br/>
&gt; qualifying namespace is 'jabber:client' or 'jabber:server'.]]></description>
    <author>&#74;&#67;&#32;&#66;&#114;&#97;&#110;&#100;&#32;&#60;&#106;&#99;&#64;&#111;&#112;&#107;&#111;&#100;&#101;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 26 Mar 2020 11:57:02 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: fix logging issue in mam eventhandler</title>
    <link>http://hg.omfa.de/prosody-modules/log/e93e58b33bf6/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: fix logging issue in mam eventhandler]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Tue, 10 Mar 2020 23:59:19 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: handle mam-enabled session internally</title>
    <link>http://hg.omfa.de/prosody-modules/log/c49fea05772e/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: handle mam-enabled session internally<br/>
<br/>
This obsoletes mod_smacks_offline and supersedes mod_smacks_noerror with mod_smacks_nooffline_noerror]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Sun, 08 Mar 2020 19:49:47 +0100</pubDate>
</item>
<item>
    <title>Fix bug readding stanzas to outgoing_queue on resume</title>
    <link>http://hg.omfa.de/prosody-modules/log/b5d367798570/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[Fix bug readding stanzas to outgoing_queue on resume]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Thu, 09 Jan 2020 21:21:09 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: fix bug #1405 (prevent timer from running for already destroyed sessions)</title>
    <link>http://hg.omfa.de/prosody-modules/log/58047d6f2b89/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: fix bug #1405 (prevent timer from running for already destroyed sessions)]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Sun, 11 Aug 2019 02:58:56 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: fix bug in bad client handling introduced by last commit</title>
    <link>http://hg.omfa.de/prosody-modules/log/b2f32b3c6ec1/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: fix bug in bad client handling introduced by last commit<br/>
<br/>
Use absolute h-values instead of queue-count to determine if a new<br/>
request should be sent out or if we are looping instead.]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Fri, 02 Aug 2019 18:26:06 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: fix bug for missbehaving clients sending multiple acks in a row</title>
    <link>http://hg.omfa.de/prosody-modules/log/915e32d5a147/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: fix bug for missbehaving clients sending multiple acks in a row<br/>
<br/>
Missbehaving clients, sending multiple acks in a row (I'm looking at you Monal!)<br/>
triggered the ack-loop-prevention code added in 2017, leaving unacked stanzas<br/>
in the queue. This fixes the bug while still preventing ack-loops.]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Tue, 30 Jul 2019 02:07:13 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: fix prosody 0.9 compatibility</title>
    <link>http://hg.omfa.de/prosody-modules/log/c2c851722a8a/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: fix prosody 0.9 compatibility]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Sun, 16 Jun 2019 02:00:12 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: piggyback ack request onto ack response if queue is not empty, use native stoppable timers if supported</title>
    <link>http://hg.omfa.de/prosody-modules/log/fb1c8dee2ead/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: piggyback ack request onto ack response if queue is not empty, use native stoppable timers if supported]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Sat, 15 Jun 2019 01:34:52 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Raise error on out-of-range config options (thanks marc0s)</title>
    <link>http://hg.omfa.de/prosody-modules/log/3d4eefdd950a/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Raise error on out-of-range config options (thanks marc0s)]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 22 Mar 2019 22:06:40 +0000</pubDate>
</item>
<item>
    <title>mod_smacks: apply resumed logger and type to new session, fix #1229</title>
    <link>http://hg.omfa.de/prosody-modules/log/9ef309fb501d/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: apply resumed logger and type to new session, fix #1229]]></description>
    <author>&#71;&#101;&#111;&#114;&#103;&#32;&#76;&#117;&#107;&#97;&#115;&#32;&#60;&#103;&#101;&#111;&#114;&#103;&#64;&#111;&#112;&#45;&#99;&#111;&#46;&#100;&#101;&#62;</author>
    <pubDate>Wed, 06 Mar 2019 21:51:45 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: improved debug logging</title>
    <link>http://hg.omfa.de/prosody-modules/log/f6319346e2a3/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: improved debug logging]]></description>
    <author>&#71;&#101;&#111;&#114;&#103;&#32;&#76;&#117;&#107;&#97;&#115;&#32;&#60;&#103;&#101;&#111;&#114;&#103;&#64;&#111;&#112;&#45;&#99;&#111;&#46;&#100;&#101;&#62;</author>
    <pubDate>Wed, 06 Mar 2019 21:44:07 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: no crash on &lt;a&gt; without @h, fix #1317</title>
    <link>http://hg.omfa.de/prosody-modules/log/1f2381492c9f/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: no crash on &lt;a&gt; without @h, fix #1317]]></description>
    <author>&#71;&#101;&#111;&#114;&#103;&#32;&#76;&#117;&#107;&#97;&#115;&#32;&#60;&#103;&#101;&#111;&#114;&#103;&#64;&#111;&#112;&#45;&#99;&#111;&#46;&#100;&#101;&#62;</author>
    <pubDate>Wed, 06 Mar 2019 21:25:47 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Fire event on delivery failure/success for each stanza</title>
    <link>http://hg.omfa.de/prosody-modules/log/9b6206f23151/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Fire event on delivery failure/success for each stanza]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 20 Jan 2019 00:02:08 +0000</pubDate>
</item>
<item>
    <title>mod_smacks: Improve logging on resume so session changes are more easily tracked</title>
    <link>http://hg.omfa.de/prosody-modules/log/67f1d1f22625/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Improve logging on resume so session changes are more easily tracked]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Wed, 08 Aug 2018 12:49:02 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Reduce unacked stanza log message from warn-&gt;debug</title>
    <link>http://hg.omfa.de/prosody-modules/log/14b6ad2b773f/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Reduce unacked stanza log message from warn-&gt;debug]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Tue, 26 Jun 2018 15:30:03 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Convert max number into a string before inserting it into a stanza.</title>
    <link>http://hg.omfa.de/prosody-modules/log/06e07b483805/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Convert max number into a string before inserting it into a stanza.]]></description>
    <author>&#69;&#109;&#109;&#97;&#110;&#117;&#101;&#108;&#32;&#71;&#105;&#108;&#32;&#80;&#101;&#121;&#114;&#111;&#116;&#32;&#60;&#108;&#105;&#110;&#107;&#109;&#97;&#117;&#118;&#101;&#64;&#108;&#105;&#110;&#107;&#109;&#97;&#117;&#118;&#101;&#46;&#102;&#114;&#62;</author>
    <pubDate>Fri, 08 Jun 2018 17:56:54 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: defer timeouts for push enabled clients</title>
    <link>http://hg.omfa.de/prosody-modules/log/f703cc6e72df/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: defer timeouts for push enabled clients]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Fri, 08 Jun 2018 17:38:24 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: send maximum resumption timeout to client</title>
    <link>http://hg.omfa.de/prosody-modules/log/626d2c781c66/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: send maximum resumption timeout to client]]></description>
    <author>&#74;&#111;&#110;&#97;&#115;&#32;&#87;&#105;&#101;&#108;&#105;&#99;&#107;&#105;&#32;&#60;&#106;&#111;&#110;&#97;&#115;&#64;&#119;&#105;&#101;&#108;&#105;&#99;&#107;&#105;&#46;&#110;&#97;&#109;&#101;&#62;</author>
    <pubDate>Thu, 07 Jun 2018 13:27:32 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Ensure stanza count attributes are always strings (thanks Martin)</title>
    <link>http://hg.omfa.de/prosody-modules/log/e672d1050529/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Ensure stanza count attributes are always strings (thanks Martin)]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 17 Mar 2018 12:58:37 +0000</pubDate>
</item>
<item>
    <title>mod_smacks: Fix #921</title>
    <link>http://hg.omfa.de/prosody-modules/log/dbba101601b4/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Fix #921<br/>
See also https://mail.jabber.org/pipermail/standards/2017-May/032773.html]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Sun, 27 Aug 2017 21:34:48 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Trigger event smacks-hibernation-end after queue resend</title>
    <link>http://hg.omfa.de/prosody-modules/log/f70c02c14161/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Trigger event smacks-hibernation-end after queue resend<br/>
This is more sensible and allows other modules to send out stanzas when<br/>
handling this event without messing with the order of stanzas.]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Fri, 18 Aug 2017 00:56:38 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: don't send out &lt;r&gt; when already hibernating</title>
    <link>http://hg.omfa.de/prosody-modules/log/91cbeb6ad987/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: don't send out &lt;r&gt; when already hibernating]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Fri, 14 Jul 2017 18:06:17 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Fix delayed_ack event</title>
    <link>http://hg.omfa.de/prosody-modules/log/eea1d5bac451/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Fix delayed_ack event<br/>
<br/>
After the first delayed ack every queued stanza should immediately<br/>
trigger the delayed_ack event.]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Mon, 08 May 2017 19:36:37 +0200</pubDate>
</item>
<item>
    <title>Fix #889</title>
    <link>http://hg.omfa.de/prosody-modules/log/d96831e46b64/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[Fix #889<br/>
<br/>
Some buggy clients try to resume unauthenticated sessions and<br/>
session.username is nil in this case (that caused the bug).]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Mon, 24 Apr 2017 20:56:56 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Ignore user when writing or reading session_cache on prosody 0.9</title>
    <link>http://hg.omfa.de/prosody-modules/log/6e01878103c0/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Ignore user when writing or reading session_cache on prosody 0.9<br/>
<br/>
At least under some circumstances it seems that session.username is nil when<br/>
a user tries to resume his session in prosody 0.9.<br/>
The username is not relevant when no limiting is done (limiting the number of<br/>
entries in the session cache is only possible in prosody 0.10), so this<br/>
commit removes the usage of the username when accessing the prosody 0.9 session<br/>
cache.]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Thu, 06 Apr 2017 02:12:14 +0200</pubDate>
</item>
<item>
    <title>mod_smacks: Prevent ack loop on misbehaving clients</title>
    <link>http://hg.omfa.de/prosody-modules/log/c110b6bfe5d1/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Prevent ack loop on misbehaving clients]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Wed, 15 Mar 2017 16:24:03 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Made module more error resistant</title>
    <link>http://hg.omfa.de/prosody-modules/log/a65260300708/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Made module more error resistant]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Wed, 15 Mar 2017 16:21:55 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Add resumed session to event &quot;smacks-hibernation-end&quot;</title>
    <link>http://hg.omfa.de/prosody-modules/log/362ca94192ee/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Add resumed session to event &quot;smacks-hibernation-end&quot;<br/>
<br/>
Older versions of this event only have the &quot;intermediate&quot; session<br/>
in event.session (the one used to resume the existing session),<br/>
but not the resumed one.<br/>
This adds event.resumed which contains the resumed one alongside<br/>
to event.session.]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Sat, 11 Mar 2017 01:37:28 +0100</pubDate>
</item>
<item>
    <title>Implement XEP-0198 revision 1.5.2 and limit number of hibernated sessions per user</title>
    <link>http://hg.omfa.de/prosody-modules/log/ffb6646b4253/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[Implement XEP-0198 revision 1.5.2 and limit number of hibernated sessions per user<br/>
<br/>
Revision 1.5.2 allows sending h-values on resumes that fail due to hibernation timeout<br/>
and to send out a smacks ack directly before the stream close tag.<br/>
I also made the used timers stoppable even for prosody 0.10 and below, this makes<br/>
the smacks-ack-delayed event more useful.]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Sun, 05 Mar 2017 20:23:53 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Fix some bugs with smacks-ack-delayed event triggering.</title>
    <link>http://hg.omfa.de/prosody-modules/log/d300ae5dba87/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Fix some bugs with smacks-ack-delayed event triggering.<br/>
<br/>
The old code had several flaws which are addressed here.<br/>
First of all this fixes the if statement guarding the event generation<br/>
There where some timing glitches addressed by this commit as well.]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Sun, 12 Feb 2017 21:23:22 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Send out more ack requests where needed</title>
    <link>http://hg.omfa.de/prosody-modules/log/5fbca7de2088/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Send out more ack requests where needed<br/>
<br/>
Under some circumstances it was possible that more than &quot;max_unacked_stanzas&quot;<br/>
where left in the outgoing stanza queue without forcing an ack.<br/>
This could happen, when more stanzas entered the queue while the last ack request<br/>
was still unanswered.<br/>
Now the test &quot;#queue &gt; max_unacked_stanzas&quot; is done upon receiving<br/>
an ack as well as when sending out stanzas, which fixes this bug.]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Sun, 12 Feb 2017 19:27:50 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: Check if a session is an authenticated c2s session by looking for a username (fix for change in 0.10 9f70d35a1602)</title>
    <link>http://hg.omfa.de/prosody-modules/log/5e7badecf7fe/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: Check if a session is an authenticated c2s session by looking for a username (fix for change in 0.10 9f70d35a1602)]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 15 Dec 2016 02:57:03 +0100</pubDate>
</item>
<item>
    <title>mod_smacks: added new event &quot;smacks-ack-delayed&quot; used by mod_cloud_notify and extended the readme file accordingly (also mention mod_smacks_offline and mod_smacks_noerror in readme file)</title>
    <link>http://hg.omfa.de/prosody-modules/log/4c27ebcf4cbd/mod_smacks/mod_smacks.lua</link>
    <description><![CDATA[mod_smacks: added new event &quot;smacks-ack-delayed&quot; used by mod_cloud_notify and extended the readme file accordingly (also mention mod_smacks_offline and mod_smacks_noerror in readme file)]]></description>
    <author>&#116;&#109;&#111;&#108;&#105;&#116;&#111;&#114;&#32;&#60;&#116;&#104;&#105;&#108;&#111;&#64;&#101;&#105;&#103;&#104;&#116;&#121;&#115;&#111;&#102;&#116;&#46;&#100;&#101;&#62;</author>
    <pubDate>Thu, 24 Nov 2016 00:47:32 +0100</pubDate>
</item>

  </channel>
</rss>
