mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-29 03:51:31 +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