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

    <title>prosody-hg: util/adminstream.lua history</title>
    <description>util/adminstream.lua revision history</description>
    <item>
    <title>Use util.time.now() consistently instead of socket.gettime()</title>
    <link>http://hg.omfa.de/prosody-hg/log/d649d011df45/util/adminstream.lua</link>
    <description><![CDATA[Use util.time.now() consistently instead of socket.gettime()]]></description>
    <author>&#76;&#105;&#110;&#107;&#32;&#77;&#97;&#117;&#118;&#101;&#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, 30 Jan 2026 14:08:53 +0100</pubDate>
</item>
<item>
    <title>util.adminstream: Lower log level of disconnect message</title>
    <link>http://hg.omfa.de/prosody-hg/log/0afcbea41f22/util/adminstream.lua</link>
    <description><![CDATA[util.adminstream: Lower log level of disconnect message<br/>
<br/>
Why was this 'info' but the connected is 'debug' ?]]></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, 06 Jan 2026 19:13:20 +0100</pubDate>
</item>
<item>
    <title>util.adminstream: Fix traceback on double-close (fixes #1913)</title>
    <link>http://hg.omfa.de/prosody-hg/log/471b676e64eb/util/adminstream.lua</link>
    <description><![CDATA[util.adminstream: Fix traceback on double-close (fixes #1913)<br/>
<br/>
In some circumstances, particularly with 'opportunistic_writes' and<br/>
'fatal_errors' enabled in the epoll backend, the connection may be closed<br/>
halfway through the session close process (because it contains debug logging,<br/>
which in the case of the watch:log() command, will trigger a write to the<br/>
socket).<br/>
<br/>
The chosen fix is to cache session.conn in a local variable (we already did<br/>
this later on, but this pulls it up to the top of the function, which is<br/>
generally more correct anyway).]]></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>Mon, 31 Mar 2025 16:25:09 +0100</pubDate>
</item>
<item>
    <title>util.adminstream: Expose session events (specifically &quot;disconnected&quot;)</title>
    <link>http://hg.omfa.de/prosody-hg/log/b1b931d5fee8/util/adminstream.lua</link>
    <description><![CDATA[util.adminstream: Expose session events (specifically &quot;disconnected&quot;)<br/>
<br/>
Currently there is no way to get this info and perform cleanup tasks.]]></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, 07 Jan 2025 18:07:45 +0000</pubDate>
</item>
<item>
    <title>util: Prefix module imports with prosody namespace</title>
    <link>http://hg.omfa.de/prosody-hg/log/d10957394a3c/util/adminstream.lua</link>
    <description><![CDATA[util: Prefix module imports with prosody namespace]]></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>Fri, 17 Mar 2023 16:23:16 +0100</pubDate>
</item>
<item>
    <title>mod_admin_socket: Fix typo in comments</title>
    <link>http://hg.omfa.de/prosody-hg/log/c35afa353f8f/util/adminstream.lua</link>
    <description><![CDATA[mod_admin_socket: Fix typo in comments<br/>
<br/>
Introduced in 6966026262f4]]></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>Fri, 20 Jan 2023 18:16:10 +0100</pubDate>
</item>
<item>
    <title>mod_admin_socket: Comment on LuaSocket UNIX compat code</title>
    <link>http://hg.omfa.de/prosody-hg/log/6966026262f4/util/adminstream.lua</link>
    <description><![CDATA[mod_admin_socket: Comment on LuaSocket UNIX compat code<br/>
<br/>
Ref #1717]]></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, 16 Mar 2022 19:32:17 +0100</pubDate>
</item>
<item>
    <title>mod_admin_socket: Compat for luasocket prior to unix datagram support</title>
    <link>http://hg.omfa.de/prosody-hg/log/5373724e08a5/util/adminstream.lua</link>
    <description><![CDATA[mod_admin_socket: Compat for luasocket prior to unix datagram support<br/>
<br/>
The &quot;socket.unix&quot; module exported only a function before<br/>
https://github.com/lunarmodules/luasocket/commit/aa1b8cc9bc35e56de15eeb153c899e4c51de82a8<br/>
when datagram support was added.<br/>
<br/>
Fixes #1717<br/>
<br/>
Thanks rsc and lucas for reporting and testing]]></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, 15 Mar 2022 10:48:46 +0100</pubDate>
</item>
<item>
    <title>adminstream: fire disconnected event on lower layer disconnect</title>
    <link>http://hg.omfa.de/prosody-hg/log/84fd6a79cda7/util/adminstream.lua</link>
    <description><![CDATA[adminstream: fire disconnected event on lower layer disconnect<br/>
<br/>
This may in theory cause multiple disconnect events for the<br/>
adminstream client, if the only code using that wasn't calling<br/>
os.exit right away.<br/>
<br/>
Hence, this should be a good enough partial fix for #1671. It is<br/>
not a full fix, because the shell will only notice the disconnect<br/>
after one has hit enter in the input; until then, it is stuck in<br/>
a read() call to stdin and completely oblivious to the disconnect.]]></description>
    <author>&#74;&#111;&#110;&#97;&#115;&#32;&#83;&#99;&#104;&#228;&#102;&#101;&#114;&#32;&#60;&#106;&#111;&#110;&#97;&#115;&#64;&#119;&#105;&#101;&#108;&#105;&#99;&#107;&#105;&#46;&#110;&#97;&#109;&#101;&#62;</author>
    <pubDate>Tue, 21 Dec 2021 21:23:01 +0100</pubDate>
</item>
<item>
    <title>util.adminstream: Prevent closure on read timeout</title>
    <link>http://hg.omfa.de/prosody-hg/log/18e4e446a76c/util/adminstream.lua</link>
    <description><![CDATA[util.adminstream: Prevent closure on read timeout]]></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, 18 Jun 2020 17:54:28 +0200</pubDate>
</item>
<item>
    <title>util.adminstream: Set a read timeout handler</title>
    <link>http://hg.omfa.de/prosody-hg/log/9e6d979dd603/util/adminstream.lua</link>
    <description><![CDATA[util.adminstream: Set a read timeout handler<br/>
<br/>
So that net.server doesn't close the connection on inactivity.]]></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, 04 Jun 2020 16:17:14 +0200</pubDate>
</item>
<item>
    <title>util.adminstream: Fire event based on stanza name too for convenience</title>
    <link>http://hg.omfa.de/prosody-hg/log/b9ff7178787c/util/adminstream.lua</link>
    <description><![CDATA[util.adminstream: Fire event based on stanza name too for convenience]]></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, 03 Jun 2020 22:26:48 +0100</pubDate>
</item>
<item>
    <title>util.adminstream: Import net.server [luacheck]</title>
    <link>http://hg.omfa.de/prosody-hg/log/c01c39a2c7a2/util/adminstream.lua</link>
    <description><![CDATA[util.adminstream: Import net.server [luacheck]]]></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, 02 Jun 2020 08:41:05 +0100</pubDate>
</item>
<item>
    <title>util.prosodyctl.shell, util.adminstream: Move connection logic into adminstream for easier reuse</title>
    <link>http://hg.omfa.de/prosody-hg/log/09674bbb833f/util/adminstream.lua</link>
    <description><![CDATA[util.prosodyctl.shell, util.adminstream: Move connection logic into adminstream for easier reuse]]></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, 02 Jun 2020 08:28:39 +0100</pubDate>
</item>
<item>
    <title>mod_admin_socket, util.adminstream: New module to manage a local unix domain socket for admin functionality</title>
    <link>http://hg.omfa.de/prosody-hg/log/70ac7d23673d/util/adminstream.lua</link>
    <description><![CDATA[mod_admin_socket, util.adminstream: New module to manage a local unix domain socket for admin functionality]]></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>Mon, 01 Jun 2020 15:42:19 +0100</pubDate>
</item>

  </channel>
</rss>
