From 10f213bf3d977b001c1a6fb307d47ce895d363ce Mon Sep 17 00:00:00 2001 From: Hellojack <106379370+H1JK@users.noreply.github.com> Date: Tue, 1 Nov 2022 09:47:29 +0000 Subject: [PATCH] Adjust uTLS wrapper --- common/tls/utls_client.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/common/tls/utls_client.go b/common/tls/utls_client.go index 28fa6298..ba3b2824 100644 --- a/common/tls/utls_client.go +++ b/common/tls/utls_client.go @@ -14,7 +14,6 @@ import ( E "github.com/sagernet/sing/common/exceptions" utls "github.com/refraction-networking/utls" - "context" ) type utlsClientConfig struct { @@ -42,10 +41,6 @@ type utlsConnWrapper struct { *utls.UConn } -func (c *utlsConnWrapper) HandshakeContext(ctx context.Context) error { - return c.UConn.HandshakeContext(ctx) -} - func (c *utlsConnWrapper) ConnectionState() tls.ConnectionState { state := c.Conn.ConnectionState() return tls.ConnectionState{