aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-09-15 09:08:21 +0100
committerMatthew Wild <mwild1@gmail.com>2020-09-15 09:08:21 +0100
commitea6374c282ec114c5cc1d163d6ef20f35d74397f (patch)
tree2d70cabf9615e81771386aca111144c32742cba6 /net
parentcfb1daec94643d85a04d70fe61e104cec09bdb10 (diff)
downloadprosody-ea6374c282ec114c5cc1d163d6ef20f35d74397f.tar.gz
prosody-ea6374c282ec114c5cc1d163d6ef20f35d74397f.zip
net.http: Add feature discovery (currently just contains SNI)
Diffstat (limited to 'net')
-rw-r--r--net/http.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/http.lua b/net/http.lua
index 0768cdab..7335d210 100644
--- a/net/http.lua
+++ b/net/http.lua
@@ -314,4 +314,7 @@ return {
formencode = util_http.formencode;
formdecode = util_http.formdecode;
destroy_request = destroy_request;
+ features = {
+ sni = true;
+ };
};