turn off ltls by default

This commit is contained in:
Cloud Wu
2019-03-26 10:31:47 +08:00
parent eda9f771e6
commit bfbbe91efa
3 changed files with 15 additions and 6 deletions

View File

@@ -29,8 +29,12 @@ end
local function main()
dns.server()
http_test("http")
print("---------")
http_test("https")
if not pcall(require,"ltls") then
print "No ltls module, https is not supported"
else
http_test("https")
end
end
skynet.start(function()