From 8257456de118b22e83cc6d6922625c55742521ad Mon Sep 17 00:00:00 2001 From: nange Date: Mon, 29 Apr 2024 19:46:30 +0800 Subject: [PATCH] feat: support setting ServerName(-sn) in easyss command line --- cmd/easyss/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/easyss/main.go b/cmd/easyss/main.go index 00ca8fe2..ea4c623c 100644 --- a/cmd/easyss/main.go +++ b/cmd/easyss/main.go @@ -39,6 +39,7 @@ func main() { flag.BoolVar(&cmdConfig.DisableQUIC, "disable-quic", false, "disable quic protocol. default: false") flag.StringVar(&cmdConfig.CAPath, "ca-path", "", "set custom CA-Cert file path") flag.StringVar(&cmdConfig.OutboundProto, "outbound-proto", "", "set the outbound proto(native, http, https), default: native") + flag.StringVar(&cmdConfig.SN, "sn", "", "set the server name") flag.BoolVar(&enablePprof, "enable-pprof", false, "enable pprof server. default bind to :6060") flag.Parse()