Commit 0ebce7e7 authored by rui.zheng's avatar rui.zheng

add sni protocol keyword

parent 71c2ca98
...@@ -191,7 +191,7 @@ func initChain() (*gost.Chain, error) { ...@@ -191,7 +191,7 @@ func initChain() (*gost.Chain, error) {
connector = gost.SSHDirectForwardConnector() connector = gost.SSHDirectForwardConnector()
case "remote": case "remote":
connector = gost.SSHRemoteForwardConnector() connector = gost.SSHRemoteForwardConnector()
case "forward": case "forward", "sni": // sni is an alias of forward
connector = gost.ForwardConnector() connector = gost.ForwardConnector()
case "http": case "http":
fallthrough fallthrough
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment