aboutsummaryrefslogtreecommitdiffstats
path: root/net/http.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-08-08 13:11:11 +0100
committerMatthew Wild <mwild1@gmail.com>2020-08-08 13:11:11 +0100
commit1ec3ab3c2fc96368675e3b679cf50c3396ef8369 (patch)
tree5a4e36d71ef26f3a0647af8859377af4821bd3bb /net/http.lua
parente3a2cc2d407e3b1736843dd90f898caf53a8cd3a (diff)
downloadprosody-1ec3ab3c2fc96368675e3b679cf50c3396ef8369.tar.gz
prosody-1ec3ab3c2fc96368675e3b679cf50c3396ef8369.zip
net.http: Re-expose destroy_request() function
This was accidentally turned private in 647adfd8f738 as part of refactoring for Lua 5.2+.
Diffstat (limited to 'net/http.lua')
-rw-r--r--net/http.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/http.lua b/net/http.lua
index 0adac26c..14107bf4 100644
--- a/net/http.lua
+++ b/net/http.lua
@@ -302,4 +302,5 @@ return {
urldecode = util_http.urldecode;
formencode = util_http.formencode;
formdecode = util_http.formdecode;
+ destroy_request = destroy_request;
};