]> Cypherpunks repositories - gostls13.git/commitdiff
net/http/httptrace: remove the mention of http client
authorJaana Burcu Dogan <jbd@google.com>
Sun, 25 Sep 2016 05:06:39 +0000 (22:06 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 25 Sep 2016 05:25:00 +0000 (05:25 +0000)
This sentence is partially guilty why httptrace is considered as an
http.Client tracing package. Removing the mention.

Updates #17152.

Change-Id: I69f78a6e10817db933f44e464a949ae896e44ec6
Reviewed-on: https://go-review.googlesource.com/29755
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/httptrace/trace.go

index 93c07b8ac3a5ba0daf6948b0763b01779856f9a0..8c29c4aa6f9dc0bac80e0b7ee6f314447ff93a22 100644 (file)
@@ -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.