aboutsummaryrefslogtreecommitdiffstats
path: root/net/http.lua
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
commiteb8d78cb7e1a7a47861510d908cc1b90c6aa1929 (patch)
tree2d70cabf9615e81771386aca111144c32742cba6 /net/http.lua
parentf7e5fa95ca4dda271eee5215891e54f37cacca31 (diff)
downloadprosody-eb8d78cb7e1a7a47861510d908cc1b90c6aa1929.tar.gz
prosody-eb8d78cb7e1a7a47861510d908cc1b90c6aa1929.zip
net.http: Add feature discovery (currently just contains SNI)
Diffstat (limited to 'net/http.lua')
-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;
+ };
};