Fix uTLS handshake

This commit is contained in:
世界 2022-10-08 20:31:01 +08:00
parent badc454452
commit 8a53846efd
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

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