diff --git a/CHANGELOG b/CHANGELOG index eb0a749..d79a617 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,7 @@ proxy更新日志 +v6.9 +1.修复了sps的start潜在的crash问题. + v6.8 1.HTTP(S)\SOCKS5代理,API认证功能,发送给认证接口的参数增加了本地IP,local_ip字段, 代表用户访问的是本地服务器的哪个IP. diff --git a/VERSION b/VERSION index 8004d90..3f77c63 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.8 \ No newline at end of file +6.9 \ No newline at end of file diff --git a/services/sps/sps.go b/services/sps/sps.go index 12c5bbf..b5c68d0 100644 --- a/services/sps/sps.go +++ b/services/sps/sps.go @@ -257,6 +257,9 @@ func (s *SPS) Start(args interface{}, log *logger.Logger) (err error) { } else if *s.cfg.LocalType == "kcp" { err = sc.ListenKCP(s.cfg.KCP, s.callback, s.log) } + if err != nil { + return + } if *s.cfg.ParentServiceType == "socks" { err = s.RunSSUDP(addr) } else {