File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -68,9 +68,8 @@ func WithClientTrace(ctx context.Context, trace *ClientTrace) context.Context {
68
68
69
69
// ClientTrace is a set of hooks to run at various stages of an outgoing
70
70
// HTTP request. Any particular hook may be nil. Functions may be
71
- // called concurrently from different goroutines, starting after the
72
- // call to Transport.RoundTrip and ending either when RoundTrip
73
- // returns an error, or when the Response.Body is closed.
71
+ // called concurrently from different goroutines and some may be called
72
+ // after the request has completed or failed.
74
73
type ClientTrace struct {
75
74
// GetConn is called before a connection is created or
76
75
// retrieved from an idle pool. The hostPort is the
You can’t perform that action at this time.
0 commit comments