]> Cypherpunks repositories - gostls13.git/commit
net/http/httptrace: fix bad tracing example
authorJaana Burcu Dogan <jbd@google.com>
Tue, 20 Sep 2016 03:36:45 +0000 (20:36 -0700)
committerJaana Burcu Dogan <jbd@google.com>
Tue, 20 Sep 2016 05:11:45 +0000 (05:11 +0000)
commitf964810025ae58b623798a1944c39c06266fb45d
treed5c01ca1044860693e4d7c7bef708a984ac75918
parent836a3ae6639c310e1a13834c1f8f84bb982d920d
net/http/httptrace: fix bad tracing example

Tracing happens at the http.Trace level. Fix the example to demostrate
tracing in the lifecycle of a RoundTrip.

Updates #17152.

Change-Id: Ic7d7bcc550176189206185482e8962dbf1504ff1
Reviewed-on: https://go-review.googlesource.com/29431
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/http/httptrace/example_test.go