Browse Source

add sni protocol keyword

pull/190/merge
rui.zheng 9 years ago
parent
commit
0ebce7e731
  1. 2
      cmd/gost/main.go

2
cmd/gost/main.go

@ -191,7 +191,7 @@ func initChain() (*gost.Chain, error) {
connector = gost.SSHDirectForwardConnector()
case "remote":
connector = gost.SSHRemoteForwardConnector()
case "forward":
case "forward", "sni": // sni is an alias of forward
connector = gost.ForwardConnector()
case "http":
fallthrough

Loading…
Cancel
Save