Browse Source

Fix uTLS handshake

世界 3 years ago
parent
commit
8a53846efd
1 changed files with 1 additions and 1 deletions
  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 {