utls
This commit is contained in:
parent
91ac6f7e17
commit
ce9f312a77
@ -60,10 +60,10 @@ func handlerClient(conn net.Conn, serverAddress string, fakeAddressSNI string) {
|
||||
fmt.Printf("[Client] Handshake error: %v\n", err)
|
||||
return
|
||||
}
|
||||
dial.NetConn().SetDeadline(time.Now())
|
||||
dial.NetConn().SetDeadline(time.Time{})
|
||||
dial.GetUnderlyingConn().SetDeadline(time.Now())
|
||||
dial.GetUnderlyingConn().SetDeadline(time.Time{})
|
||||
|
||||
p := &PackAppData{Conn: dial.NetConn()}
|
||||
p := &PackAppData{Conn: dial.GetUnderlyingConn()}
|
||||
|
||||
defer p.Close()
|
||||
defer conn.Close()
|
||||
|
Loading…
Reference in New Issue
Block a user