世界 3 лет назад
Родитель
Сommit
8a53846efd
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      common/tls/utls_client.go

+ 1 - 1
common/tls/utls_client.go

@@ -43,7 +43,7 @@ type utlsConnWrapper struct {
 }
 
 func (c *utlsConnWrapper) HandshakeContext(ctx context.Context) error {
-	return c.Conn.Handshake()
+	return c.UConn.Handshake()
 }
 
 func (c *utlsConnWrapper) ConnectionState() tls.ConnectionState {