Signed-off-by: arraykeys@gmail.com <arraykeys@gmail.com>

This commit is contained in:
arraykeys@gmail.com
2018-01-31 11:54:12 +08:00
parent bc1ab84b75
commit a8b35ba971
2 changed files with 13 additions and 0 deletions

View File

@ -1,4 +1,8 @@
proxy更新日志 proxy更新日志
v4.2
1.优化了内网穿透,避免了client意外下线,导致链接信息残留的问题.
2.http代理增加了SNI支持,现在http(s)代理模式支持反向代理,支持http(s)透明代理.
v4.1 v4.1
1.优化了http(s),socks5代理中的域名智能判断,如果是内网IP,直接走本地网络,提升浏览体验, 1.优化了http(s),socks5代理中的域名智能判断,如果是内网IP,直接走本地网络,提升浏览体验,
同时优化了检查机制,判断更快. 同时优化了检查机制,判断更快.

View File

@ -89,6 +89,15 @@ func (s *MuxBridge) Start(args interface{}) (err error) {
return return
} }
s.clientControlConns.Set(key, session) s.clientControlConns.Set(key, session)
go func() {
for {
if session.IsClosed() {
s.clientControlConns.Remove(key)
break
}
time.Sleep(time.Second * 5)
}
}()
//log.Printf("set client session,key: %s", key) //log.Printf("set client session,key: %s", key)
} }