summaryrefslogtreecommitdiff
path: root/src/net/http/race.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/http/race.go')
-rw-r--r--src/net/http/race.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/http/race.go b/src/net/http/race.go
new file mode 100644
index 000000000..766503967
--- /dev/null
+++ b/src/net/http/race.go
@@ -0,0 +1,11 @@
+// Copyright 2014 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build race
+
+package http
+
+func init() {
+ raceEnabled = true
+}