commit | d0aafc73d5cdc42264b0af071c261abac580695e | [log] [tgz] |
---|---|---|
author | David Howden <dhowden@gmail.com> | Sun Mar 04 21:38:26 2018 +1100 |
committer | Hyang-Ah Hana Kim <hyangah@gmail.com> | Thu Mar 08 15:43:19 2018 +0000 |
tree | 308e92a6ff62a6812e70681594b7c16b32dbbd00 | |
parent | 07e8617a6db2368fa55d4616f371ee1b1403c817 [diff] |
trace: fix races on concurrent Trace method calls This change protects fields mutated by Trace methods with a mutex. In particular it fixes races caused by concurrent calls to IsError, and viewing active traces in /debug/requests. Includes changes from CL/67730. Updates golang/go#24231 Change-Id: I07db54c2642efe0ea0e3ffeb54ec796ae51e70ef Reviewed-on: https://go-review.googlesource.com/98535 Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.