Skip to content

Commit

Permalink
net/http/httptrace: remove the mention of http client
Browse files Browse the repository at this point in the history
This sentence is partially guilty why httptrace is considered as an
http.Client tracing package. Removing the mention.

Updates golang#17152.

Change-Id: I69f78a6e10817db933f44e464a949ae896e44ec6
Reviewed-on: https://go-review.googlesource.com/29755
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  • Loading branch information
rakyll authored and bradfitz committed Sep 25, 2016
1 parent 159a90b commit 893edc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net/http/httptrace/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func WithClientTrace(ctx context.Context, trace *ClientTrace) context.Context {
return ctx
}

// ClientTrace is a set of hooks to run at various stages of an HTTP
// client request. Any particular hook may be nil. Functions may be
// ClientTrace is a set of hooks to run at various stages of an outgoing
// HTTP request. Any particular hook may be nil. Functions may be
// called concurrently from different goroutines, starting after the
// call to Transport.RoundTrip and ending either when RoundTrip
// returns an error, or when the Response.Body is closed.
Expand Down

0 comments on commit 893edc9

Please sign in to comment.