From 006f2f951023defef946bcbbb5f6c8a6f5d6e0db Mon Sep 17 00:00:00 2001 From: arraykeys Date: Sat, 16 Jun 2018 17:41:09 +0800 Subject: [PATCH] no message --- CHANGELOG | 4 ++++ services/sps/sps.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 973add9..d0fef91 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,8 @@ proxy更新日志 +v5.0 +1.修复了SPS多端口无效的bug. +2.增加了DNS代理功能,提供安全无污染的DNS解析. + v4.9 1.修复了HTTP Basic代理返回不合适的头部,导致浏览器不会弹框,个别代理插件无法认证的问题. 2.内网穿透切换smux到yamux. diff --git a/services/sps/sps.go b/services/sps/sps.go index ca05c7a..40f75ce 100644 --- a/services/sps/sps.go +++ b/services/sps/sps.go @@ -155,7 +155,7 @@ func (s *SPS) Start(args interface{}, log *logger.Logger) (err error) { s.log.Printf("use %s %s parent %s", *s.cfg.ParentType, *s.cfg.ParentServiceType, *s.cfg.Parent) for _, addr := range strings.Split(*s.cfg.Local, ",") { if addr != "" { - host, port, _ := net.SplitHostPort(*s.cfg.Local) + host, port, _ := net.SplitHostPort(addr) p, _ := strconv.Atoi(port) sc := utils.NewServerChannel(host, p, s.log) if *s.cfg.LocalType == "tcp" {