- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for withCancelCause (0.25 sec)
-
cmd/erasure-server-pool.go
if err := checkListObjsArgs(ctx, bucket, prefix, ""); err != nil { xioutil.SafeClose(results) return err } parentCtx := ctx ctx, cancelCause := context.WithCancelCause(ctx) var entries []chan metaCacheEntry for poolIdx, erasureSet := range z.serverPools { for setIdx, set := range erasureSet.sets { set := set listOut := make(chan metaCacheEntry, 1)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 82.5K bytes - Viewed (0) -
src/net/http/transport.go
// after reading the request body. // - For an HTTP/2 request, RoundTrip cancels this context after the HTTP/2 // RoundTripper returns. ctx, cancel := context.WithCancelCause(req.Context()) // Convert Request.Cancel into context cancelation. if origReq.Cancel != nil { go awaitLegacyCancel(ctx, cancel, origReq) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0)