Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dialConn (0.1 sec)

  1. src/net/http/transport_test.go

    	}
    	if !reflect.DeepEqual(oe, want) {
    		t.Errorf("Got error %#v; want %#v", oe, want)
    	}
    }
    
    // Issue 36431: calls to RoundTrip should not mutate t.ProxyConnectHeader.
    //
    // (A bug caused dialConn to instead write the per-request Proxy-Authorization
    // header through to the shared Header instance, introducing a data race.)
    func TestTransportProxyDialDoesNotMutateProxyConnectHeader(t *testing.T) {
    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