From 047f03ec09c2707c9e7a0320353fecbd87a028a8 Mon Sep 17 00:00:00 2001
From: Matthew Wild <mwild1@gmail.com>
Date: Tue, 15 Sep 2020 09:08:21 +0100
Subject: net.http: Add feature discovery (currently just contains SNI)

---
 net/http.lua | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'net')

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;
+	};
 };
-- 
cgit v1.2.3