<?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: net/connect.lua history</title>
    <description>net/connect.lua revision history</description>
    <item>
    <title>net: Prefix module imports with prosody namespace</title>
    <link>http://hg.omfa.de/prosody-hg/log/ba409c67353b/net/connect.lua</link>
    <description><![CDATA[net: 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:12 +0100</pubDate>
</item>
<item>
    <title>net.connect: Clear TODO for Happy Eyeballs / RFC 8305, close #1246</title>
    <link>http://hg.omfa.de/prosody-hg/log/6d9ee0a3eb4b/net/connect.lua</link>
    <description><![CDATA[net.connect: Clear TODO for Happy Eyeballs / RFC 8305, close #1246<br/>
<br/>
Gotta have the DOAP references!]]></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, 19 Aug 2022 14:24:31 +0200</pubDate>
</item>
<item>
    <title>net.connect: Fix accumulation of connection attempt references</title>
    <link>http://hg.omfa.de/prosody-hg/log/353836684009/net/connect.lua</link>
    <description><![CDATA[net.connect: Fix accumulation of connection attempt references<br/>
<br/>
Connection attempts that failed the Happy Eyeballs race were not<br/>
unreferenced and would accumulate.<br/>
<br/>
Tested by inspecting the 'pending_connections_map' after establishing<br/>
s2s with a s2s target where the IPv6 port has a -j DROP rule causing it<br/>
to time out and the IPv4 attempt wins the race.<br/>
<br/>
Expected is that the losing connection stays around until net.server<br/>
timeouts kick in where it should be removed. The map table should tend<br/>
towards being empty during idle times.]]></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, 20 Apr 2022 22:41:54 +0200</pubDate>
</item>
<item>
    <title>net.connect: Improve logging on connection attempt failure</title>
    <link>http://hg.omfa.de/prosody-hg/log/7a3da1acace1/net/connect.lua</link>
    <description><![CDATA[net.connect: Improve logging on connection attempt failure]]></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, 21 Mar 2022 11:15:30 +0000</pubDate>
</item>
<item>
    <title>net.connect: Improve handling of failure when attempts are still pending</title>
    <link>http://hg.omfa.de/prosody-hg/log/eabcc3ae22e9/net/connect.lua</link>
    <description><![CDATA[net.connect: Improve handling of failure when attempts are still pending<br/>
<br/>
This could lead to failure being reported too early, even if some connections<br/>
have not yet failed.]]></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, 21 Mar 2022 11:01:58 +0000</pubDate>
</item>
<item>
    <title>net.connect: When more targets are immediately available, try them after a delay</title>
    <link>http://hg.omfa.de/prosody-hg/log/18a3a6218100/net/connect.lua</link>
    <description><![CDATA[net.connect: When more targets are immediately available, try them after a delay<br/>
<br/>
RFC 8305]]></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, 18 Mar 2022 16:16:57 +0000</pubDate>
</item>
<item>
    <title>net.connect: Support for multiple pending connection attempts</title>
    <link>http://hg.omfa.de/prosody-hg/log/e132a4279914/net/connect.lua</link>
    <description><![CDATA[net.connect: Support for multiple pending connection attempts]]></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, 18 Mar 2022 16:16:01 +0000</pubDate>
</item>
<item>
    <title>net.connect: Allow passing TLS context from resolver</title>
    <link>http://hg.omfa.de/prosody-hg/log/a2e6605303fa/net/connect.lua</link>
    <description><![CDATA[net.connect: Allow passing TLS context from resolver<br/>
<br/>
Only allowing it to be passed directly makes it hard to combine plain<br/>
(i.e. starttls) and Direct TLS connections in the same connection<br/>
resolution procedure. But now we can, using chained resolvers!]]></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, 21 Jan 2022 17:57:47 +0100</pubDate>
</item>
<item>
    <title>net.connect: Prefer last connection error over last resolver error</title>
    <link>http://hg.omfa.de/prosody-hg/log/baf69f254753/net/connect.lua</link>
    <description><![CDATA[net.connect: Prefer last connection error over last resolver error<br/>
<br/>
E.g. &quot;connection refused&quot; over one IP version instead of NoError for the<br/>
other IP version.]]></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>Sat, 13 Nov 2021 13:32:43 +0100</pubDate>
</item>
<item>
    <title>net.connect: Propagate last error message from resolvers</title>
    <link>http://hg.omfa.de/prosody-hg/log/26406ce35e20/net/connect.lua</link>
    <description><![CDATA[net.connect: Propagate last error message from resolvers<br/>
<br/>
Previously it would only say &quot;unable to resolve server&quot; for all DNS<br/>
problems. While &quot;NoError in A lookup&quot; might not make much sense to<br/>
users, it should help in debugging more than the previous generic error.<br/>
<br/>
Friendlier errors will be future work.]]></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, 12 Nov 2021 16:52:55 +0100</pubDate>
</item>
<item>
    <title>net.connect: Remove TODO about use_ipv4/6 done in 3bfb20be844c</title>
    <link>http://hg.omfa.de/prosody-hg/log/2edb72ef312a/net/connect.lua</link>
    <description><![CDATA[net.connect: Remove TODO about use_ipv4/6 done in 3bfb20be844c]]></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 Jun 2020 01:42:18 +0200</pubDate>
</item>
<item>
    <title>Backed out changeset 44ef46e1a951 (not optimal API)</title>
    <link>http://hg.omfa.de/prosody-hg/log/f51c88baeb8a/net/connect.lua</link>
    <description><![CDATA[Backed out changeset 44ef46e1a951 (not optimal API)]]></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, 25 Jan 2020 14:25:29 +0000</pubDate>
</item>
<item>
    <title>net.connect: Add API to create custom connect()s with options, incl. use_ipv[46]</title>
    <link>http://hg.omfa.de/prosody-hg/log/44ef46e1a951/net/connect.lua</link>
    <description><![CDATA[net.connect: Add API to create custom connect()s with options, incl. use_ipv[46]]]></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, 24 Jan 2020 13:48:49 +0000</pubDate>
</item>
<item>
    <title>net.connect: Mention RFC 6724 regression</title>
    <link>http://hg.omfa.de/prosody-hg/log/913276ba0c47/net/connect.lua</link>
    <description><![CDATA[net.connect: Mention RFC 6724 regression<br/>
<br/>
Default Address Selection algorithm is not applied, resulting in a<br/>
strong bias towards IPv4.]]></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>Sat, 07 Dec 2019 17:39:29 +0100</pubDate>
</item>
<item>
    <title>net.connect: Add some TODOs and FIXMEs</title>
    <link>http://hg.omfa.de/prosody-hg/log/b13a31cea7d9/net/connect.lua</link>
    <description><![CDATA[net.connect: Add some TODOs and FIXMEs<br/>
<br/>
And mention issue numbers: #1246, #1428 and #1429]]></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>Sat, 07 Dec 2019 17:05:00 +0100</pubDate>
</item>
<item>
    <title>net.connect: Add some TODO comments</title>
    <link>http://hg.omfa.de/prosody-hg/log/fa11070c2cd7/net/connect.lua</link>
    <description><![CDATA[net.connect: Add some TODO comments]]></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, 26 Nov 2019 00:12:51 +0100</pubDate>
</item>
<item>
    <title>net.*: Remove tostring call from logging</title>
    <link>http://hg.omfa.de/prosody-hg/log/b327f2870382/net/connect.lua</link>
    <description><![CDATA[net.*: Remove tostring call from logging<br/>
<br/>
Taken care of by loggingmanager now]]></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, 30 Jul 2019 02:35:17 +0200</pubDate>
</item>
<item>
    <title>net.connect: Fix passing request table to new listener</title>
    <link>http://hg.omfa.de/prosody-hg/log/33e52f727f0f/net/connect.lua</link>
    <description><![CDATA[net.connect: Fix passing request table to new listener<br/>
<br/>
This could be a return value from ondetach]]></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, 26 Sep 2018 17:36:53 +0200</pubDate>
</item>
<item>
    <title>net.connect: Remove manual onattach callback invocation</title>
    <link>http://hg.omfa.de/prosody-hg/log/0f395d82b4ea/net/connect.lua</link>
    <description><![CDATA[net.connect: Remove manual onattach callback invocation]]></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, 26 Sep 2018 15:07:25 +0200</pubDate>
</item>
<item>
    <title>net.connect: Fix to store correct parameter</title>
    <link>http://hg.omfa.de/prosody-hg/log/f841d359da65/net/connect.lua</link>
    <description><![CDATA[net.connect: Fix to store correct parameter]]></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, 26 Feb 2018 15:26:08 +0000</pubDate>
</item>
<item>
    <title>net.connect: Improve error message</title>
    <link>http://hg.omfa.de/prosody-hg/log/69e942c2990f/net/connect.lua</link>
    <description><![CDATA[net.connect: Improve error message]]></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, 26 Feb 2018 15:25:52 +0000</pubDate>
</item>
<item>
    <title>net.connect: Handle immediate failures of server.addclient</title>
    <link>http://hg.omfa.de/prosody-hg/log/162f75ac2693/net/connect.lua</link>
    <description><![CDATA[net.connect: Handle immediate failures of server.addclient]]></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, 26 Feb 2018 15:25:34 +0000</pubDate>
</item>
<item>
    <title>net.connect: Handle case when resolver runs out of targets</title>
    <link>http://hg.omfa.de/prosody-hg/log/5e9c87376891/net/connect.lua</link>
    <description><![CDATA[net.connect: Handle case when resolver runs out of targets]]></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, 26 Feb 2018 15:21:27 +0000</pubDate>
</item>
<item>
    <title>net.connect: Track last connection error</title>
    <link>http://hg.omfa.de/prosody-hg/log/d66916dc318a/net/connect.lua</link>
    <description><![CDATA[net.connect: Track last connection error]]></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, 26 Feb 2018 15:20:35 +0000</pubDate>
</item>
<item>
    <title>net.connect: Default to *a pattern if none provided</title>
    <link>http://hg.omfa.de/prosody-hg/log/c3f234e4ac23/net/connect.lua</link>
    <description><![CDATA[net.connect: Default to *a pattern if none provided]]></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, 23 Feb 2018 16:23:03 +0000</pubDate>
</item>
<item>
    <title>net.connect: New API for outgoing connections, based on 'service resolvers'</title>
    <link>http://hg.omfa.de/prosody-hg/log/601681acea73/net/connect.lua</link>
    <description><![CDATA[net.connect: New API for outgoing connections, based on 'service resolvers']]></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, 23 Feb 2018 15:53:45 +0000</pubDate>
</item>

  </channel>
</rss>
