Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testClientTimeoutCancel (0.94 sec)

  1. src/net/http/client_test.go

    	}
    }
    
    // Issue 16094: if Client.Timeout is set but not hit, a Timeout error shouldn't be
    // returned.
    func TestClientTimeoutCancel(t *testing.T) { run(t, testClientTimeoutCancel) }
    func testClientTimeoutCancel(t *testing.T, mode testMode) {
    	testDone := make(chan struct{})
    	ctx, cancel := context.WithCancel(context.Background())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top