1
0
mirror of https://github.com/golang/go synced 2024-09-24 05:20:13 -06:00
The Go programming language
Go to file
Brad Fitzpatrick 172acae68a net/http: make race detector happy for recently-added test
Update #7264

Races:
http://build.golang.org/log/a2e401fdcd4903a61a3375bff5da702a20ddafad
http://build.golang.org/log/ec4c69e92076a747ac6d5df7eb7b382b31ab3d43

I think this is the first time I've actually seen a manifestation
of Issue 7264, and one that I can reproduce.

I don't know why it triggers on this test and not any others
just like it, or why I can't reproduce Issue 7264
independently, even when Dmitry gives me minimal repros.

Work around it for now with some synchronization to make the
race detector happy.

The proper fix will probably be in net/http/httptest itself, not
in all hundred some tests.

LGTM=rsc
R=rsc
CC=dvyukov, golang-codereviews
https://golang.org/cl/87640043
2014-04-14 12:08:32 -07:00
api api: update next.txt 2014-04-01 13:14:45 -04:00
doc doc: add go1.3 note about the http Transport closing Request.Body 2014-04-14 10:19:10 -07:00
include cmd/prof, libmach: delete 2014-04-14 11:09:25 -04:00
lib codereview: remove unused upload_options.revision 2014-02-24 10:11:37 -05:00
misc misc/emacs: ignore backquote in comment or string 2014-04-09 12:28:27 -04:00
src net/http: make race detector happy for recently-added test 2014-04-14 12:08:32 -07:00
test undo CL 66510044 / 6c0339d94123 2014-04-14 09:48:11 -04:00
.hgignore lib9: enable on Plan 9 2014-02-13 20:06:41 +01:00
.hgtags tag go1.2.1 2014-03-03 13:22:13 +11:00
AUTHORS A+C: Guillaume J. Charmes (individual CLA) 2014-04-14 11:26:22 -07:00
CONTRIBUTORS A+C: Guillaume J. Charmes (individual CLA) 2014-04-14 11:26:22 -07:00
favicon.ico godoc: update favicon 2012-10-11 17:02:36 +11:00
LICENSE
PATENTS
README README: Fix installation instructions 2013-11-20 13:47:37 -08:00
robots.txt

This is the source code repository for the Go programming language.  

For documentation about how to install and use Go,
visit http://golang.org/ or load doc/install-source.html
in your web browser.

After installing Go, you can view a nicely formatted
doc/install-source.html by running godoc --http=:6060
and then visiting http://localhost:6060/doc/install/source.

Unless otherwise noted, the Go source files are distributed
under the BSD-style license found in the LICENSE file.

--

Binary Distribution Notes

If you have just untarred a binary Go distribution, you need to set
the environment variable $GOROOT to the full path of the go
directory (the one containing this README).  You can omit the
variable if you unpack it into /usr/local/go, or if you rebuild
from sources by running all.bash (see doc/install.html).
You should also add the Go binary directory $GOROOT/bin
to your shell's path.

For example, if you extracted the tar file into $HOME/go, you might
put the following in your .profile:

    export GOROOT=$HOME/go
    export PATH=$PATH:$GOROOT/bin

See doc/install.html for more details.