Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/net/http/transport_test.go

    	doReq := func(reqId string) {
    		req, _ := NewRequest("GET", ts.URL, nil)
    		trace := &httptrace.ClientTrace{
    			GetConn: func(hostPort string) {
    				preDial <- struct{}{}
    			},
    		}
    		req = req.WithContext(httptrace.WithClientTrace(req.Context(), trace))
    		resp, err := tr.RoundTrip(req)
    		if err != nil {
    			t.Errorf("unexpected error for request %s: %v", reqId, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top