0
0
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:
风扇滑翔翼 2025-06-04 16:02:09 +00:00 committed by GitHub
parent 7c1cc2cde4
commit f953a50042
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
} }