<?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/http.lua history</title>
    <description>net/http.lua revision history</description>
    <item>
    <title>net.http: Fix attempt to index a nil value (thanks Menel)</title>
    <link>http://hg.omfa.de/prosody-hg/log/0f4de9c974ad/net/http.lua</link>
    <description><![CDATA[net.http: Fix attempt to index a nil value (thanks Menel)<br/>
<br/>
Guard against ex=nil]]></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, 23 Feb 2026 22:32:54 +0100</pubDate>
</item>
<item>
    <title>net.http: Allow passing a 'target_filter' function to restrict connection targets</title>
    <link>http://hg.omfa.de/prosody-hg/log/72018fe1c334/net/http.lua</link>
    <description><![CDATA[net.http: Allow passing a 'target_filter' function to restrict connection targets<br/>
<br/>
For example, this is useful if you want to filter out private IP ranges when<br/>
making connections to user-provided URLs.]]></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, 22 Feb 2026 17:22:42 +0000</pubDate>
</item>
<item>
    <title>Merge 0.12-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/eac86b5fb04b/net/http.lua</link>
    <description><![CDATA[Merge 0.12-&gt;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>Fri, 16 Aug 2024 17:06:41 +0200</pubDate>
</item>
<item>
    <title>net.http: Throw error if missing TLS context for HTTPS request</title>
    <link>http://hg.omfa.de/prosody-hg/log/a97c11584042/net/http.lua</link>
    <description><![CDATA[net.http: Throw error if missing TLS context for HTTPS request<br/>
<br/>
Prevents the mistake of creating a http context without any TLS context<br/>
and then trying to use HTTPS, which doesn't work right.<br/>
<br/>
Thanks nils]]></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, 08 Aug 2024 19:18:22 +0200</pubDate>
</item>
<item>
    <title>net.http: Set Connection header based on connection pool usage</title>
    <link>http://hg.omfa.de/prosody-hg/log/23f95714c386/net/http.lua</link>
    <description><![CDATA[net.http: Set Connection header based on connection pool usage<br/>
<br/>
Connection: keep-alive is implicit in HTTP/1.1 but explicit &gt; implicit]]></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, 11 Nov 2023 23:48:45 +0100</pubDate>
</item>
<item>
    <title>net.http: Add simple connection pooling</title>
    <link>http://hg.omfa.de/prosody-hg/log/6d6291dfe735/net/http.lua</link>
    <description><![CDATA[net.http: Add simple connection pooling<br/>
<br/>
This should speed up repeated requests to the same site by keeping their<br/>
connections around and sending more requests on them.<br/>
<br/>
Sending multiple requests at the same time is not supported, instead a<br/>
request started while another to the same authority is in progress would<br/>
open a new one and the first one to complete would go back in the pool.<br/>
This could be investigated in the future.<br/>
<br/>
Some http servers limit the number of requests per connection and this<br/>
is not tested and could cause one request to fail, but hopefully it will<br/>
close the connection and prevent it from being reused.]]></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, 11 Nov 2023 23:08:34 +0100</pubDate>
</item>
<item>
    <title>net: Prefix module imports with prosody namespace</title>
    <link>http://hg.omfa.de/prosody-hg/log/ba409c67353b/net/http.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.http: Add missing log parameter</title>
    <link>http://hg.omfa.de/prosody-hg/log/91baddaeea84/net/http.lua</link>
    <description><![CDATA[net.http: Add missing log 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>Thu, 09 Feb 2023 22:37:54 +0000</pubDate>
</item>
<item>
    <title>net.http: Allow using DANE via options or per request settings</title>
    <link>http://hg.omfa.de/prosody-hg/log/c0f49a4026f8/net/http.lua</link>
    <description><![CDATA[net.http: Allow using DANE via options or per request settings<br/>
<br/>
Dare to enable by default?]]></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, 05 Feb 2022 01:32:08 +0100</pubDate>
</item>
<item>
    <title>net.http: fail open if surrounding code does not configure TLS</title>
    <link>http://hg.omfa.de/prosody-hg/log/83d6d6a70edf/net/http.lua</link>
    <description><![CDATA[net.http: fail open if surrounding code does not configure TLS<br/>
<br/>
Previously, if surrounding code was not configuring the TLS context<br/>
used default in net.http, it would not validate certificates at all.<br/>
<br/>
This is not a security issue with prosody, because prosody updates the<br/>
context with `verify = &quot;peer&quot;` as well as paths to CA certificates in<br/>
util.startup.init_http_client.<br/>
<br/>
Nevertheless... Let's not leave this pitfall out there in the open.]]></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>Sun, 29 Aug 2021 15:04:47 +0200</pubDate>
</item>
<item>
    <title>net.http: Send entire HTTP request header as one write</title>
    <link>http://hg.omfa.de/prosody-hg/log/735b8f4a6d7e/net/http.lua</link>
    <description><![CDATA[net.http: Send entire HTTP request header as one write<br/>
<br/>
When opportunistic writes are enabled this reduces the number of<br/>
syscalls and TCP packets sent on the wire.<br/>
<br/>
Experiments with TCP Fast Open made this even more obvious.<br/>
<br/>
That table trick probably wasn't as efficient. Lua generates bytecode<br/>
for a table with zero array slots and space for two entries in the hash<br/>
part, plus code to set [2] and [4]. I didn't verify but I suspect it<br/>
would have had to resize the table when setting [1] and [3], although<br/>
probably only once. Concatenating the strings directly in Lua is easier<br/>
to read and involves no extra table or function call.]]></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, 08 Jul 2021 18:21:59 +0200</pubDate>
</item>
<item>
    <title>net.http: track time of request for debug/stats purposes</title>
    <link>http://hg.omfa.de/prosody-hg/log/9b25eecde9e6/net/http.lua</link>
    <description><![CDATA[net.http: track time of request for debug/stats purposes]]></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, 09 Dec 2020 13:54:21 +0000</pubDate>
</item>
<item>
    <title>net.http: Add support for streaming chunked/large responses</title>
    <link>http://hg.omfa.de/prosody-hg/log/409ce7686c11/net/http.lua</link>
    <description><![CDATA[net.http: Add support for streaming chunked/large responses]]></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, 21 Oct 2020 10:40:11 +0100</pubDate>
</item>
<item>
    <title>Merge 0.11-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/988ddd57e851/net/http.lua</link>
    <description><![CDATA[Merge 0.11-&gt;trunk]]></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, 15 Sep 2020 09:09:06 +0100</pubDate>
</item>
<item>
    <title>net.http: Add feature discovery (currently just contains SNI)</title>
    <link>http://hg.omfa.de/prosody-hg/log/f2ffc16a9669/net/http.lua</link>
    <description><![CDATA[net.http: Add feature discovery (currently just contains SNI)]]></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, 15 Sep 2020 09:08:21 +0100</pubDate>
</item>
<item>
    <title>net.server: Backport client parts of SNI support from trunk (#409)</title>
    <link>http://hg.omfa.de/prosody-hg/log/30d3f6f85eb8/net/http.lua</link>
    <description><![CDATA[net.server: Backport client parts of SNI support from trunk (#409)<br/>
<br/>
Partial backports of the following commits from trunk:<br/>
<br/>
6c804b6b2ca2 net.http: Pass server name along for SNI (fixes #1408)<br/>
75d2874502c3 net.server_select: SNI support (#409)<br/>
9a905888b96c net.server_event: Add SNI support (#409)<br/>
adc0672b700e net.server_epoll: Add support for SNI (#409)<br/>
d4390c427a66 net.server: Handle server name (SNI) as extra argument]]></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, 17 Aug 2020 23:01:14 +0200</pubDate>
</item>
<item>
    <title>net.http: http.request() promise now resolves with response (breaking change)</title>
    <link>http://hg.omfa.de/prosody-hg/log/f103f59ea2b5/net/http.lua</link>
    <description><![CDATA[net.http: http.request() promise now resolves with response (breaking change)<br/>
<br/>
Promise mode is not (widely?) used, changing this now while we can, as it<br/>
improves usability of the API.<br/>
<br/>
The request is now available as response.request, if needed.]]></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, 25 Aug 2020 15:59:04 +0100</pubDate>
</item>
<item>
    <title>net.http: use new net.http.errors lib for creating error object</title>
    <link>http://hg.omfa.de/prosody-hg/log/160308b4b384/net/http.lua</link>
    <description><![CDATA[net.http: use new net.http.errors lib for creating error object]]></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, 25 Aug 2020 15:57:39 +0100</pubDate>
</item>
<item>
    <title>Merge 0.11-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/1f41f38a92f7/net/http.lua</link>
    <description><![CDATA[Merge 0.11-&gt;trunk]]></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, 08 Aug 2020 13:14:11 +0100</pubDate>
</item>
<item>
    <title>net.http: Add request:cancel() method</title>
    <link>http://hg.omfa.de/prosody-hg/log/5176d9f727f6/net/http.lua</link>
    <description><![CDATA[net.http: Add request:cancel() method<br/>
<br/>
This is a new API that should be used in preference to http.destroy_request()<br/>
when possible, as it ensures the callback is always called (with an error of<br/>
course).<br/>
<br/>
APIs that have edge-cases where they don't call callbacks have, from experience,<br/>
shown to be difficult to work with and often lead to unintentional leaks when<br/>
the callback was expected to free up certain resources.]]></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, 08 Aug 2020 13:13:50 +0100</pubDate>
</item>
<item>
    <title>net.http: Re-expose destroy_request() function</title>
    <link>http://hg.omfa.de/prosody-hg/log/355eae2f9ba8/net/http.lua</link>
    <description><![CDATA[net.http: Re-expose destroy_request() function<br/>
<br/>
This was accidentally turned private in 647adfd8f738 as part of refactoring<br/>
for Lua 5.2+.]]></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, 08 Aug 2020 13:11:11 +0100</pubDate>
</item>
<item>
    <title>Merge 0.11-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/e18a913aed2d/net/http.lua</link>
    <description><![CDATA[Merge 0.11-&gt;trunk]]></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 Jul 2020 13:52:45 +0100</pubDate>
</item>
<item>
    <title>net.http: Fix traceback on invalid URL passed to request()</title>
    <link>http://hg.omfa.de/prosody-hg/log/e2ce067bb59a/net/http.lua</link>
    <description><![CDATA[net.http: Fix traceback on invalid URL passed to request()]]></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 Jul 2020 13:52:25 +0100</pubDate>
</item>
<item>
    <title>net.http: Return a Promise if no callback is given</title>
    <link>http://hg.omfa.de/prosody-hg/log/71d04bd6cadd/net/http.lua</link>
    <description><![CDATA[net.http: Return a Promise if no callback is given]]></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, 06 May 2020 18:03:20 +0200</pubDate>
</item>
<item>
    <title>net.http: Set ALPN on requests</title>
    <link>http://hg.omfa.de/prosody-hg/log/8d3acf16c404/net/http.lua</link>
    <description><![CDATA[net.http: Set ALPN on requests<br/>
<br/>
Shouldn't hurt. Revert if it turns out it does.<br/>
<br/>
Supported in LuaSec 0.8. Should be ignored otherwise.]]></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, 29 Nov 2019 23:25:59 +0100</pubDate>
</item>
<item>
    <title>net.http: Pass server name along for SNI (fixes #1408)</title>
    <link>http://hg.omfa.de/prosody-hg/log/6c804b6b2ca2/net/http.lua</link>
    <description><![CDATA[net.http: Pass server name along for SNI (fixes #1408)<br/>
<br/>
net.resolver.basic passes this 'extra' field along to server.addclient]]></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, 01 Sep 2019 02:05:33 +0200</pubDate>
</item>
<item>
    <title>net.*: Remove tostring call from logging</title>
    <link>http://hg.omfa.de/prosody-hg/log/b327f2870382/net/http.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.http: Manually merge settings (fixes #1231)</title>
    <link>http://hg.omfa.de/prosody-hg/log/2700317f93e4/net/http.lua</link>
    <description><![CDATA[net.http: Manually merge settings (fixes #1231)<br/>
<br/>
Metatable table indexing is done raw, so metatables can't be chained]]></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, 09 Nov 2018 15:59:32 +0100</pubDate>
</item>
<item>
    <title>Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall</title>
    <link>http://hg.omfa.de/prosody-hg/log/acf74ad0b795/net/http.lua</link>
    <description><![CDATA[Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall]]></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, 26 Oct 2018 19:32:00 +0100</pubDate>
</item>
<item>
    <title>Merge 0.10-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/6063f9211fd1/net/http.lua</link>
    <description><![CDATA[Merge 0.10-&gt;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>Fri, 06 Apr 2018 01:43:44 +0200</pubDate>
</item>
<item>
    <title>net.http: Import setmetatable into local scope (fixes #1125)</title>
    <link>http://hg.omfa.de/prosody-hg/log/de74bc49385e/net/http.lua</link>
    <description><![CDATA[net.http: Import setmetatable into local scope (fixes #1125)]]></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, 06 Apr 2018 01:42:35 +0200</pubDate>
</item>
<item>
    <title>Merge 0.10 -&gt; trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/fd39c44c0113/net/http.lua</link>
    <description><![CDATA[Merge 0.10 -&gt; trunk]]></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, 04 Apr 2018 18:42:05 +0100</pubDate>
</item>
<item>
    <title>net.http: Fix parameter order to http request callbacks</title>
    <link>http://hg.omfa.de/prosody-hg/log/e2919978673e/net/http.lua</link>
    <description><![CDATA[net.http: Fix parameter order to http request callbacks<br/>
<br/>
Commit e3b9dc9dd940 changed the parameter order in 2013, but did not update the names of the parameters in the callback function. Due to this inconsistency, 12df41a5a4b1 accidentally reversed the order when fixing the variable names without fixing where they are used.<br/>
<br/>
Additionally the documentation was incorrect (since 2013), and this has also now been fixed.]]></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, 04 Apr 2018 18:27:44 +0100</pubDate>
</item>
<item>
    <title>net.http: Allow enabling/disabling error suppression, useful for tests</title>
    <link>http://hg.omfa.de/prosody-hg/log/0f6623712239/net/http.lua</link>
    <description><![CDATA[net.http: Allow enabling/disabling error suppression, useful for tests]]></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, 24 Mar 2018 11:29:33 +0000</pubDate>
</item>
<item>
    <title>net.http: Fix for Lua 5.2: return error from error handler (xpcall changed)</title>
    <link>http://hg.omfa.de/prosody-hg/log/c7122fbe1600/net/http.lua</link>
    <description><![CDATA[net.http: Fix for Lua 5.2: return error from error handler (xpcall changed)]]></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, 24 Mar 2018 11:29:04 +0000</pubDate>
</item>
<item>
    <title>vairious: Add annotation when an empty environment is set [luacheck]</title>
    <link>http://hg.omfa.de/prosody-hg/log/4f0f5b49bb03/net/http.lua</link>
    <description><![CDATA[vairious: Add annotation when an empty environment is set [luacheck]]]></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 Feb 2018 20:06:26 +0100</pubDate>
</item>
<item>
    <title>net.http: Refactor to use new net.connect API, brings support for async DNS</title>
    <link>http://hg.omfa.de/prosody-hg/log/2bd2e94a0496/net/http.lua</link>
    <description><![CDATA[net.http: Refactor to use new net.connect API, brings support for async DNS]]></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:27:00 +0000</pubDate>
</item>
<item>
    <title>net.http: Rename handler to conn, for consistency with all our other code</title>
    <link>http://hg.omfa.de/prosody-hg/log/b6f3b34ecc03/net/http.lua</link>
    <description><![CDATA[net.http: Rename handler to conn, for consistency with all our other code]]></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:21:40 +0000</pubDate>
</item>
<item>
    <title>net.http: Remove use of 'conn' (raw socket object returned by addclient)</title>
    <link>http://hg.omfa.de/prosody-hg/log/c071cabfa066/net/http.lua</link>
    <description><![CDATA[net.http: Remove use of 'conn' (raw socket object returned by 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>Fri, 23 Feb 2018 16:20:45 +0000</pubDate>
</item>
<item>
    <title>Merge 0.10-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/a0ad62a269df/net/http.lua</link>
    <description><![CDATA[Merge 0.10-&gt;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>Mon, 28 Aug 2017 21:05:12 +0200</pubDate>
</item>
<item>
    <title>net.http: Add option for disabling TLS certifictate validation</title>
    <link>http://hg.omfa.de/prosody-hg/log/e92585ab4998/net/http.lua</link>
    <description><![CDATA[net.http: Add option for disabling TLS certifictate validation]]></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, 07 Jul 2017 21:04:46 +0200</pubDate>
</item>
<item>
    <title>net.http: Validate HTTPS certificates (fixes #659)</title>
    <link>http://hg.omfa.de/prosody-hg/log/8f82d3cd0631/net/http.lua</link>
    <description><![CDATA[net.http: Validate HTTPS certificates (fixes #659)]]></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, 07 Jul 2017 21:04:30 +0200</pubDate>
</item>
<item>
    <title>net.http: Move default SSL/TLS settings into options, allowing them to be overriden in new()</title>
    <link>http://hg.omfa.de/prosody-hg/log/55826e29c719/net/http.lua</link>
    <description><![CDATA[net.http: Move default SSL/TLS settings into options, allowing them to be overriden in new()]]></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, 07 Jul 2017 20:31:52 +0200</pubDate>
</item>
<item>
    <title>net.http: Expose defaults</title>
    <link>http://hg.omfa.de/prosody-hg/log/bc2bcfa63b43/net/http.lua</link>
    <description><![CDATA[net.http: Expose defaults]]></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, 07 Jul 2017 20:30:52 +0200</pubDate>
</item>
<item>
    <title>net.http: Remove duplicate 'request' entry</title>
    <link>http://hg.omfa.de/prosody-hg/log/3accfae91946/net/http.lua</link>
    <description><![CDATA[net.http: Remove duplicate 'request' entry]]></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, 07 Jul 2017 20:16:00 +0200</pubDate>
</item>
<item>
    <title>Merge 0.10-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/a33a87f13155/net/http.lua</link>
    <description><![CDATA[Merge 0.10-&gt;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>Mon, 24 Apr 2017 14:19:49 +0200</pubDate>
</item>
<item>
    <title>net.http: Add request.url, which is the original full URL as a string</title>
    <link>http://hg.omfa.de/prosody-hg/log/375cf924fce1/net/http.lua</link>
    <description><![CDATA[net.http: Add request.url, which is the original full URL as a string]]></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, 21 Apr 2017 16:42:25 +0100</pubDate>
</item>
<item>
    <title>net.http: Fire new events: pre-request, request-connection-error, request, response</title>
    <link>http://hg.omfa.de/prosody-hg/log/12df41a5a4b1/net/http.lua</link>
    <description><![CDATA[net.http: Fire new events: pre-request, request-connection-error, request, response]]></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, 21 Apr 2017 16:42:06 +0100</pubDate>
</item>
<item>
    <title>net.http: Allow creation of http client objects, with custom options</title>
    <link>http://hg.omfa.de/prosody-hg/log/cfb5ab763384/net/http.lua</link>
    <description><![CDATA[net.http: Allow creation of http client objects, with custom options]]></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, 21 Apr 2017 16:41:27 +0100</pubDate>
</item>
<item>
    <title>Merge 0.10-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/1bf47706aefb/net/http.lua</link>
    <description><![CDATA[Merge 0.10-&gt;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>Sun, 02 Apr 2017 00:24:37 +0200</pubDate>
</item>
<item>
    <title>net.http: Pass error all the way to callback</title>
    <link>http://hg.omfa.de/prosody-hg/log/55a56dc935f2/net/http.lua</link>
    <description><![CDATA[net.http: Pass error all the way to callback]]></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, 02 Apr 2017 00:24:07 +0200</pubDate>
</item>
<item>
    <title>Merge 0.10-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/74cfec1fe5a2/net/http.lua</link>
    <description><![CDATA[Merge 0.10-&gt;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>Sun, 01 Jan 2017 19:35:06 +0100</pubDate>
</item>
<item>
    <title>net.http: Strip trailing whitespace</title>
    <link>http://hg.omfa.de/prosody-hg/log/4f1b5596250b/net/http.lua</link>
    <description><![CDATA[net.http: Strip trailing whitespace]]></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, 30 Dec 2016 18:25:36 +0100</pubDate>
</item>
<item>
    <title>net.http: Remove unused imports [luacheck]</title>
    <link>http://hg.omfa.de/prosody-hg/log/0bc6c3704973/net/http.lua</link>
    <description><![CDATA[net.http: Remove unused imports [luacheck]]]></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, 30 Dec 2016 18:25:23 +0100</pubDate>
</item>
<item>
    <title>Merge 0.10 -&gt; trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/3c40b972260e/net/http.lua</link>
    <description><![CDATA[Merge 0.10 -&gt; trunk]]></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, 27 Jul 2016 14:08:32 +0100</pubDate>
</item>
<item>
    <title>net.http: Add quotes around ids in log messages</title>
    <link>http://hg.omfa.de/prosody-hg/log/fc6c24cb3599/net/http.lua</link>
    <description><![CDATA[net.http: Add quotes around ids in log messages]]></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, 27 Jul 2016 13:40:45 +0100</pubDate>
</item>
<item>
    <title>Merge 0.10-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/f1923f00b7de/net/http.lua</link>
    <description><![CDATA[Merge 0.10-&gt;trunk]]></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>Thu, 07 Jul 2016 23:12:25 +0100</pubDate>
</item>
<item>
    <title>net.http: Add log messages for requests, including their id (so &quot;calling callback&quot; and tracebacks can be traced back to their initial request)</title>
    <link>http://hg.omfa.de/prosody-hg/log/3b7de72e58a9/net/http.lua</link>
    <description><![CDATA[net.http: Add log messages for requests, including their id (so &quot;calling callback&quot; and tracebacks can be traced back to their initial request)]]></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>Thu, 07 Jul 2016 23:08:47 +0100</pubDate>
</item>
<item>
    <title>net.http: Add request.id to every request object (can be overridden by providing ex.id)</title>
    <link>http://hg.omfa.de/prosody-hg/log/3b6e7ce9431f/net/http.lua</link>
    <description><![CDATA[net.http: Add request.id to every request object (can be overridden by providing ex.id)]]></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>Thu, 07 Jul 2016 23:07:19 +0100</pubDate>
</item>
<item>
    <title>Merge 0.10-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/17a4e89a4780/net/http.lua</link>
    <description><![CDATA[Merge 0.10-&gt;trunk]]></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, 04 Sep 2015 11:11:40 +0100</pubDate>
</item>

  </channel>
</rss>
