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
commitcf70cc45479dc7cefee0c4b18c5712e97b7f7aa1 (patch)
tree5a4e36d71ef26f3a0647af8859377af4821bd3bb /net/http.lua
parent7148b63895a6ebce714b4b077aa45811a4342586 (diff)
downloadprosody-cf70cc45479dc7cefee0c4b18c5712e97b7f7aa1.tar.gz
prosody-cf70cc45479dc7cefee0c4b18c5712e97b7f7aa1.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;
};