Fix uTLS handshake

This commit is contained in:
世界
2022-10-08 20:31:01 +08:00
parent 14c192be58
commit 9d31daea72

View File

@@ -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 {