- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for gotWroteReqEvent (0.29 sec)
-
src/net/http/transport_test.go
const resBody = "some body" gotWroteReqEvent := make(chan struct{}, 500) cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) { if r.Method == "GET" { // Do nothing for the second request. return } if _, err := io.ReadAll(r.Body); err != nil { t.Error(err) } if !noHooks { <-gotWroteReqEvent } io.WriteString(w, resBody)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0)