mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 11:33:09 +00:00
turn off ltls by default
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user