aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authorRichard Musiol <mail@richard-musiol.de>2018-03-04 12:18:32 +0100
committerBrad Fitzpatrick <bradfitz@golang.org>2018-06-04 16:01:50 +0000
commitef9217e7bd9c854e4f8d2d79ff8aec550130cbc4 (patch)
treeee9dc3f06e8eef45d99a55e1ee78c4abad594e2e /src/net/http
parent0680c03ea49ae1ae0a797255f98f48ccf41a084f (diff)
downloadgo-ef9217e7bd9c854e4f8d2d79ff8aec550130cbc4.tar.xz
net: add js/wasm architecture
This commit adds the js/wasm architecture to the net package. The net package is not supported by js/wasm, but a simple fake networking is available so tests of other packages that require basic TCP sockets can pass. The tests of the net package itself are mostly disabled. Updates #18892 Change-Id: Id287200c39f0a3e23d20ef17260ca15ccdcca032 Reviewed-on: https://go-review.googlesource.com/109995 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/http')
-rw-r--r--src/net/http/cgi/host_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/http/cgi/host_test.go b/src/net/http/cgi/host_test.go
index ed8b919fb3..1790d5de98 100644
--- a/src/net/http/cgi/host_test.go
+++ b/src/net/http/cgi/host_test.go
@@ -502,6 +502,7 @@ func TestDirWindows(t *testing.T) {
}
func TestEnvOverride(t *testing.T) {
+ check(t)
cgifile, _ := filepath.Abs("testdata/test.cgi")
var perl string