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
commit047f03ec09c2707c9e7a0320353fecbd87a028a8 (patch)
tree2d70cabf9615e81771386aca111144c32742cba6 /net
parent93d0d13fbb20af44330260c2884d1358efc3e653 (diff)
downloadprosody-047f03ec09c2707c9e7a0320353fecbd87a028a8.tar.gz
prosody-047f03ec09c2707c9e7a0320353fecbd87a028a8.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;
+ };
};