mirror of
https://github.com/XTLS/REALITY.git
synced 2025-08-22 22:48:36 +00:00
Handle handshake err
This commit is contained in:
parent
7c1cc2cde4
commit
f953a50042
@ -26,6 +26,7 @@ func DetectRecordFingerprint(target string) ([]int, error) {
|
|||||||
ServerName: host,
|
ServerName: host,
|
||||||
}
|
}
|
||||||
tlsConn := tls.Client(conn, tlsConfig)
|
tlsConn := tls.Client(conn, tlsConfig)
|
||||||
|
err = tlsConn.Handshake()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user