- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for wantCode (0.07 sec)
-
src/net/http/transport_dial_test.go
dt := newTransportDialTester(t, http1Mode) // First request creates a new connection. rt1 := dt.roundTrip() c1 := dt.wantDial() c1.finish(nil) rt1.wantDone(c1) rt1.finish() // Second request reuses the first connection. rt2 := dt.roundTrip() rt2.wantDone(c1) rt2.finish() } func TestTransportPoolConnCannotReuseConnectionInUse(t *testing.T) { dt := newTransportDialTester(t, http1Mode)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:11:57 UTC 2024 - 6.3K bytes - Viewed (0)