兼容tls1.2握手

增加稳定性
This commit is contained in:
wenyifan
2022-09-01 17:23:45 +08:00
parent 7213e64b89
commit 0b338de152
5 changed files with 50 additions and 120 deletions

View File

@ -41,7 +41,7 @@ func (c *Client) Start() {
stream := bridge.GetStream()
if stream == nil {
conn.Close()
fmt.Printf("[Client] connect to server error: %v\n", err)
fmt.Printf("[Client] connect to server error")
continue
}
fmt.Printf("[Client] New TCP connection: %v <-> %v \n", conn.LocalAddr().String(), conn.RemoteAddr().String())