mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-03-20 21:39:30 +00:00
Fix uTLS handshake
This commit is contained in:
parent
badc454452
commit
8a53846efd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue