Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for slowDialTCP (0.11 sec)

  1. src/net/dial_test.go

    	slowDst6 = "2001:2::254"
    )
    
    // In some environments, the slow IPs may be explicitly unreachable, and fail
    // more quickly than expected. This test hook prevents dialTCP from returning
    // before the deadline.
    func slowDialTCP(ctx context.Context, network string, laddr, raddr *TCPAddr) (*TCPConn, error) {
    	sd := &sysDialer{network: network, address: raddr.String()}
    	c, err := sd.doDialTCP(ctx, laddr, raddr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top