From 0ebce7e731a3a09ae3e0f28bbd88a5ccf7324d62 Mon Sep 17 00:00:00 2001 From: "rui.zheng" Date: Thu, 17 Aug 2017 11:03:16 +0800 Subject: [PATCH] add sni protocol keyword --- cmd/gost/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gost/main.go b/cmd/gost/main.go index a9f8872..a3559ec 100644 --- a/cmd/gost/main.go +++ b/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