mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
ssl request support sni(Server Name Indication) (#1460)
* ssl support sni(Server Name Indication) * ssl support sni(Server Name Indication)
This commit is contained in:
@@ -89,8 +89,8 @@ function tlshelper.newctx()
|
||||
return c.newctx()
|
||||
end
|
||||
|
||||
function tlshelper.newtls(method, ssl_ctx)
|
||||
return c.newtls(method, ssl_ctx)
|
||||
function tlshelper.newtls(method, ssl_ctx, hostname)
|
||||
return c.newtls(method, ssl_ctx, hostname)
|
||||
end
|
||||
|
||||
return tlshelper
|
||||
Reference in New Issue
Block a user