1
0
mirror of https://github.com/fumiama/terasu.git synced 2026-06-29 09:10:25 +08:00

release: v1.0.0

This commit is contained in:
源文雨
2025-10-23 01:19:16 +08:00
parent 541b84ca4a
commit 352a675ea1
21 changed files with 354 additions and 2529 deletions

View File

@@ -114,11 +114,11 @@ func (ds *DNSList) test() {
if err != nil {
continue
}
tlsConn := tls.Client(conn, &tls.Config{
tlsConn := tls.Client(terasu.NewConn(conn), &tls.Config{
ServerName: host,
MinVersion: tls.VersionTLS12,
})
err = terasu.Use(tlsConn).Handshake(4)
err = tlsConn.Handshake()
_ = tlsConn.Close()
if err == nil {
fmt.Println("succ:", host, addr.addr)