<?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/server.lua history</title>
    <description>net/http/server.lua revision history</description>
    <item>
    <title>net.http.server: Allow sending a file slice</title>
    <link>http://hg.omfa.de/prosody-hg/log/a558af9e8c35/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Allow sending a file slice<br/>
<br/>
To enable implementing Range requests]]></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 Nov 2025 21:41:35 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Ensure blocksize is an integer</title>
    <link>http://hg.omfa.de/prosody-hg/log/7a31775f1d7f/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Ensure blocksize is an integer<br/>
<br/>
Mostly a pedantic thing but in Lua 5.3+ 2^16 is a float, which at the<br/>
very least causes tostring() to behave differently, and floatyness is<br/>
contagious...]]></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 Nov 2025 21:40:29 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Include request in (more) http-error events</title>
    <link>http://hg.omfa.de/prosody-hg/log/72964be32b26/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Include request in (more) http-error events]]></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 Sep 2025 12:06:14 +0100</pubDate>
</item>
<item>
    <title>util.error: Use is_error() instead of is_err() everywhere</title>
    <link>http://hg.omfa.de/prosody-hg/log/d532176d4334/net/http/server.lua</link>
    <description><![CDATA[util.error: Use is_error() instead of is_err() everywhere<br/>
<br/>
Continuation of 4b39691a274e]]></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, 29 Oct 2024 14:10:02 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Fix whitespace-ignoring syntax</title>
    <link>http://hg.omfa.de/prosody-hg/log/d53dd83a9944/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Fix whitespace-ignoring syntax]]></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, 01 Dec 2023 22:00:18 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Complete async waiter for non-persistent connections</title>
    <link>http://hg.omfa.de/prosody-hg/log/407174990ab0/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Complete async waiter for non-persistent connections<br/>
<br/>
Otherwise requests with Connection: close would be stuck in the async<br/>
wait that starts after the handle_request() call.<br/>
<br/>
Together with the new async debugging, this makes the async thread stay<br/>
in the set of waiting runners forever, where previously it would simply<br/>
be garbage collected.]]></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, 24 Nov 2023 00:31:08 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Fix typo in previous commit</title>
    <link>http://hg.omfa.de/prosody-hg/log/7c62370dee9a/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Fix typo in previous commit]]></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, 23 Sep 2023 15:48:21 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Support setting Content-Type of uncaught HTTP errors</title>
    <link>http://hg.omfa.de/prosody-hg/log/da21185fd026/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Support setting Content-Type of uncaught HTTP errors<br/>
<br/>
mod_http_errors normally sets the Content-Type header via the response<br/>
object, which isn't available when handling these uncaught errors.<br/>
<br/>
Without a Content-Type header the browser is forced to guess, which may<br/>
or may not result in something sensible.]]></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, 22 Sep 2023 01:47:21 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Return request ID in header to aid debugging</title>
    <link>http://hg.omfa.de/prosody-hg/log/6b5e92949051/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Return request ID in header to aid debugging<br/>
<br/>
Eases locating the request in logs]]></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, 29 May 2023 01:42:31 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Remove &quot;Firing event&quot; logs, use event logging instead</title>
    <link>http://hg.omfa.de/prosody-hg/log/42c2a9787242/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Remove &quot;Firing event&quot; logs, use event logging instead<br/>
<br/>
Since these are noisy and we have the thing in util.helpers to log<br/>
events fired.<br/>
<br/>
The new status line events are meant to replace these as they include<br/>
more useful info.]]></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, 14 May 2023 18:48:20 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Log request and response status lines</title>
    <link>http://hg.omfa.de/prosody-hg/log/4e112b87543d/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Log request and response status lines<br/>
<br/>
Points out the beginning and end of a request.]]></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, 14 May 2023 18:44:38 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Assign each request its own log source</title>
    <link>http://hg.omfa.de/prosody-hg/log/c975dafa4303/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Assign each request its own log source]]></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, 14 May 2023 18:44:11 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Assign an ID to each request, shared with response</title>
    <link>http://hg.omfa.de/prosody-hg/log/18ffe7833446/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Assign an ID to each request, shared with response<br/>
<br/>
Goal is improve tracking of individual HTTP requests throughout its<br/>
life-cycle. Having a single ID to use in logging should help here.]]></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, 14 May 2023 18:38:22 +0200</pubDate>
</item>
<item>
    <title>net: Prefix module imports with prosody namespace</title>
    <link>http://hg.omfa.de/prosody-hg/log/ba409c67353b/net/http/server.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>Merge 0.12-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/686c3cdd4775/net/http/server.lua</link>
    <description><![CDATA[Merge 0.12-&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, 16 Feb 2023 16:00:07 +0000</pubDate>
</item>
<item>
    <title>net.http.server: Add new API to get HTTP request from a connection</title>
    <link>http://hg.omfa.de/prosody-hg/log/3a6dae39c70e/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Add new API to get HTTP request from a connection<br/>
<br/>
This information is sometimes necessary in the context where we have a<br/>
connection that we know (or believe to be) associated with an incoming HTTP<br/>
request.<br/>
<br/>
For example, it can be used to retrieve the IP address of a request (which may<br/>
differ from the IP address of the connection, due to X-Forwarded-For and co).<br/>
<br/>
Thanks to the Jitsi team for highlighting this gap in the 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>Thu, 16 Feb 2023 15:59:26 +0000</pubDate>
</item>
<item>
    <title>net.http.server: Close file handle earlier</title>
    <link>http://hg.omfa.de/prosody-hg/log/8cbb109ff7ec/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Close file handle earlier<br/>
<br/>
Frees unneeded resources earlier, so they're not held on to while<br/>
potentially sending the chunk trailer.]]></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, 08 Jan 2023 13:51:30 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Fix #1789</title>
    <link>http://hg.omfa.de/prosody-hg/log/1cdaf21584da/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Fix #1789<br/>
<br/>
Unregistering the response before sending the trailer of the chunked<br/>
transfer encoding prevents opportunistic writes from being invoked and<br/>
running this code again when, which may cause an error when closing the<br/>
file handle a second time.<br/>
<br/>
Normally the file size is known, so no chuck headers are 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>Sun, 08 Jan 2023 13:35:04 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Split out method for sending only the header</title>
    <link>http://hg.omfa.de/prosody-hg/log/eaff6e548f12/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Split out method for sending only the header<br/>
<br/>
Makes it easier to reuse, e.g. for SSE or websockets or other custom<br/>
responses.]]></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, 24 Apr 2021 10:50:24 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Set request.ip so mod_http doesn't have to</title>
    <link>http://hg.omfa.de/prosody-hg/log/d30c44a829c1/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Set request.ip so mod_http doesn't have to<br/>
<br/>
Because it already sets request.secure, which depends on the connection,<br/>
just like the IP, so it makes sense to do both in the same place.<br/>
<br/>
Dealing with proxies can be left to mod_http for now, but maybe it could<br/>
move into some util some day?]]></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, 27 Feb 2021 21:37:16 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Don't pause early streaming uploads</title>
    <link>http://hg.omfa.de/prosody-hg/log/ad3b5384fc03/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Don't pause early streaming uploads<br/>
<br/>
Fixes that otherwise it would wait for the request to be done after<br/>
receiving the head of the request, when it's meant to select a target<br/>
for where to store the data, instead of waiting after receiving the<br/>
request for when the request has been handled.]]></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 Feb 2021 13:38:56 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Allow storing more than the parser in the session</title>
    <link>http://hg.omfa.de/prosody-hg/log/b877bd74d65e/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Allow storing more than the parser in the session<br/>
<br/>
Storing the async thread on the connection was weird.]]></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 Feb 2021 14:47:27 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Enable async during HTTP request handling (fixes #1487)</title>
    <link>http://hg.omfa.de/prosody-hg/log/73f7acf8a61f/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Enable async during HTTP request handling (fixes #1487)]]></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 Jul 2020 20:31:31 +0200</pubDate>
</item>
<item>
    <title>Merge 0.11-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/e9eeaefa09a7/net/http/server.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, 13 Oct 2020 11:59:40 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Don't send Content-Length on 1xx/204 responses, per RFC (fixes #1596)</title>
    <link>http://hg.omfa.de/prosody-hg/log/de76f566159e/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Don't send Content-Length on 1xx/204 responses, per RFC (fixes #1596)]]></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, 13 Oct 2020 11:55:28 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Default to HTTP result code 500 when promise is rejected</title>
    <link>http://hg.omfa.de/prosody-hg/log/dd1713862c20/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Default to HTTP result code 500 when promise is rejected]]></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, 28 Sep 2020 16:21:41 +0100</pubDate>
</item>
<item>
    <title>Merge 0.11-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/05d218aae3d1/net/http/server.lua</link>
    <description><![CDATA[Merge 0.11-&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>Tue, 23 Jun 2020 17:59:24 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Fix reporting of missing Host header</title>
    <link>http://hg.omfa.de/prosody-hg/log/f4215f8baa5d/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Fix reporting of missing Host header<br/>
<br/>
The &quot;Missing or invalid 'Host' header&quot; case was dead code previously<br/>
because `host` was always at least an empty string.]]></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 Jun 2020 15:43:57 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Strip port from Host header in IPv6 friendly way (fix #1302)</title>
    <link>http://hg.omfa.de/prosody-hg/log/a23328c46389/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Strip port from Host header in IPv6 friendly way (fix #1302)<br/>
<br/>
E.g. given `[::1]:5280` it would previously result in only `[` instead<br/>
of the correct `[::1]`]]></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 Jun 2020 15:39:31 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Use error code from util.error (fixes #1502)</title>
    <link>http://hg.omfa.de/prosody-hg/log/977c9883f625/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Use error code from util.error (fixes #1502)<br/>
<br/>
Oversight in 955e54e451dc when this was added.]]></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 Apr 2020 22:57:14 +0200</pubDate>
</item>
<item>
    <title>util.error: Move default for numeric error code to net.http.server</title>
    <link>http://hg.omfa.de/prosody-hg/log/e8186aba1583/net/http/server.lua</link>
    <description><![CDATA[util.error: Move default for numeric error code to net.http.server<br/>
<br/>
Stanza errors can also have numbers but these are a legacy thing and<br/>
rarely used, except in MUC. HTTP errors on the other hand always have a<br/>
number.]]></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, 14 Dec 2019 20:28:44 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Treat promise rejection without value as a HTTP 500 error</title>
    <link>http://hg.omfa.de/prosody-hg/log/3278f2a31a0a/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Treat promise rejection without value as a HTTP 500 error]]></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, 05 Nov 2019 01:34:13 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Handle promises from http handlers</title>
    <link>http://hg.omfa.de/prosody-hg/log/faa4fcc78b14/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Handle promises from http handlers]]></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, 01 Nov 2019 22:31:15 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Handle util.error objects from http handlers</title>
    <link>http://hg.omfa.de/prosody-hg/log/955e54e451dc/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Handle util.error objects from http handlers]]></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, 01 Nov 2019 22:30:35 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Tail call because tail call!</title>
    <link>http://hg.omfa.de/prosody-hg/log/0ea7b4769096/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Tail call because tail 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>Fri, 01 Nov 2019 22:28:39 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Factor out handling of event response for easier reuse</title>
    <link>http://hg.omfa.de/prosody-hg/log/7a95f27ac9d6/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Factor out handling of event response for easier reuse]]></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, 01 Nov 2019 22:25:54 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Explicitly convert number to string, avoiding implicit coercion</title>
    <link>http://hg.omfa.de/prosody-hg/log/cd1c73c2bdec/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Explicitly convert number to string, avoiding implicit coercion]]></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, 12 Oct 2019 19:30:29 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Re-fire unhandled HEAD requsts as GET events (fixes #1447)</title>
    <link>http://hg.omfa.de/prosody-hg/log/3f4c25425589/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Re-fire unhandled HEAD requsts as GET events (fixes #1447)<br/>
<br/>
BC: This overloads the GET event.<br/>
<br/>
Previous commit ensures HEAD requests are sent without a body.]]></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, 12 Oct 2019 18:27:54 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Ensure HEAD requests are sent with empty body</title>
    <link>http://hg.omfa.de/prosody-hg/log/73938168681c/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Ensure HEAD requests are sent with empty body]]></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, 12 Oct 2019 18:27:02 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Move event formation to avoid traceback on missing Host header</title>
    <link>http://hg.omfa.de/prosody-hg/log/cc9dff0212f4/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Move event formation to avoid traceback on missing Host header]]></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, 13 Nov 2018 15:03:24 +0000</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/server.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>net.http.server: Delay host checks until after host-less event</title>
    <link>http://hg.omfa.de/prosody-hg/log/866cba3689f4/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Delay host checks until after host-less event<br/>
<br/>
This allows handling events without any hosts 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>Sun, 23 Sep 2018 18:59:04 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Fire an event without host</title>
    <link>http://hg.omfa.de/prosody-hg/log/816591db764d/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Fire an event without host]]></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 Sep 2018 23:40:17 +0200</pubDate>
</item>
<item>
    <title>Revert 2dc7490899ae::5d6b252bc36f: Unfinished and broken</title>
    <link>http://hg.omfa.de/prosody-hg/log/9beb767295d4/net/http/server.lua</link>
    <description><![CDATA[Revert 2dc7490899ae::5d6b252bc36f: Unfinished and broken]]></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 Sep 2018 22:14:40 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Fix default host logic</title>
    <link>http://hg.omfa.de/prosody-hg/log/5d6b252bc36f/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Fix default host logic<br/>
<br/>
This was used to construct the event name previously]]></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 Sep 2018 21:33:41 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Move handling of hosts to mod_http</title>
    <link>http://hg.omfa.de/prosody-hg/log/2dc7490899ae/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Move handling of hosts to mod_http<br/>
<br/>
Now an event like `GET /path` is fired at first, and mod\_http<br/>
dispatches the old `GET host/path` events.]]></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 Sep 2018 21:19:41 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Include response object in most http-error events</title>
    <link>http://hg.omfa.de/prosody-hg/log/c7d6c2558a24/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Include response object in most http-error events]]></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, 27 Oct 2017 14:08:28 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Add luacheck annotations</title>
    <link>http://hg.omfa.de/prosody-hg/log/e080b8b4f3cb/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Add luacheck annotations]]></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 Aug 2016 15:21:30 +0200</pubDate>
</item>
<item>
    <title>Merge 0.9-&gt;0.10</title>
    <link>http://hg.omfa.de/prosody-hg/log/01d0d466d7be/net/http/server.lua</link>
    <description><![CDATA[Merge 0.9-&gt;0.10]]></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 Aug 2016 15:16:02 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Expose way to set http server options</title>
    <link>http://hg.omfa.de/prosody-hg/log/d430573fe9f8/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Expose way to set http server options]]></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 Aug 2016 14:50:39 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Set blocksize for serving data from FDs to	64k (sweet spot of efficiency according to a recent study)</title>
    <link>http://hg.omfa.de/prosody-hg/log/1d3f9da189b5/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Set blocksize for serving data from FDs to	64k (sweet spot of efficiency according to a recent study)]]></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, 08 Aug 2016 16:07:46 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Add response method for reading response body from a file handle</title>
    <link>http://hg.omfa.de/prosody-hg/log/d32406f27efd/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Add response method for reading response body from a file handle]]></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, 11 Jul 2016 11:52:43 +0200</pubDate>
</item>
<item>
    <title>net.http.server: Return from listen_on() whatever net.server.addserver() returns</title>
    <link>http://hg.omfa.de/prosody-hg/log/fdbe9ccac17d/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Return from listen_on() whatever net.server.addserver() returns]]></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, 16 Jan 2016 22:43:11 +0100</pubDate>
</item>
<item>
    <title>net.http.server: Import util.cache</title>
    <link>http://hg.omfa.de/prosody-hg/log/e3be91ccca05/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Import util.cache]]></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, 03 Dec 2015 16:12:44 +0000</pubDate>
</item>
<item>
    <title>net.http.server: Use new util.cache to remember wildcard event handlers</title>
    <link>http://hg.omfa.de/prosody-hg/log/8ab809358922/net/http/server.lua</link>
    <description><![CDATA[net.http.server: Use new util.cache to remember wildcard event handlers]]></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, 03 Dec 2015 14:54:29 +0000</pubDate>
</item>
<item>
    <title>Merge with merge merge merge</title>
    <link>http://hg.omfa.de/prosody-hg/log/b6e558febb7a/net/http/server.lua</link>
    <description><![CDATA[Merge with merge merge merge]]></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, 27 Mar 2015 22:19:44 +0000</pubDate>
</item>
<item>
    <title>Merge 0.9-&gt;0.10 (third time lucky)</title>
    <link>http://hg.omfa.de/prosody-hg/log/64e6b88b6b21/net/http/server.lua</link>
    <description><![CDATA[Merge 0.9-&gt;0.10 (third time lucky)]]></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, 27 Mar 2015 22:11:58 +0000</pubDate>
</item>
<item>
    <title>Merge with merge</title>
    <link>http://hg.omfa.de/prosody-hg/log/03a43bf3ecd2/net/http/server.lua</link>
    <description><![CDATA[Merge with merge]]></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, 27 Mar 2015 00:28:16 +0100</pubDate>
</item>
<item>
    <title>Merge 0.9-&gt;0.10 again</title>
    <link>http://hg.omfa.de/prosody-hg/log/478308ee29dd/net/http/server.lua</link>
    <description><![CDATA[Merge 0.9-&gt;0.10 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>Fri, 27 Mar 2015 00:27:29 +0100</pubDate>
</item>
<item>
    <title>Merge 0.9-&gt;0.10</title>
    <link>http://hg.omfa.de/prosody-hg/log/61b6a4fc65f1/net/http/server.lua</link>
    <description><![CDATA[Merge 0.9-&gt;0.10]]></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, 26 Mar 2015 16:48:39 +0000</pubDate>
</item>

  </channel>
</rss>
