- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for serverConnCh (0.17 sec)
-
src/net/http/transport_test.go
} func testTransportCancelRequestBeforeResponseHeaders(t *testing.T, test cancelTest) { defer afterTest(t) serverConnCh := make(chan net.Conn, 1) tr := &Transport{ Dial: func(network, addr string) (net.Conn, error) { cc, sc := net.Pipe() serverConnCh <- sc return cc, nil }, } defer tr.CloseIdleConnections() errc := make(chan error, 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0)