mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 18:11:28 +00:00
Fix uTLS handshake
This commit is contained in:
parent
badc454452
commit
8a53846efd
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue