aboutsummaryrefslogtreecommitdiffstats
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
commit11e49af5e884828746f37e37afd4f89d5236c6cb (patch)
tree5a4e36d71ef26f3a0647af8859377af4821bd3bb
parenta80cdecc466865986cd7928b6b4d070905e1fd73 (diff)
downloadprosody-11e49af5e884828746f37e37afd4f89d5236c6cb.tar.gz
prosody-11e49af5e884828746f37e37afd4f89d5236c6cb.zip
net.http: Re-expose destroy_request() function
This was accidentally turned private in 647adfd8f738 as part of refactoring for Lua 5.2+.
-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;
};