diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2015-11-18 15:36:51 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2015-11-19 02:41:20 +0000 |
| commit | aae81d948cb7b4fb6e55b96cbba6ae2131d46e25 (patch) | |
| tree | 825dd6d3e3a6d613ebd05a1c4f731ca952409199 /src/net/http/export_test.go | |
| parent | e4a1acced742a53421e22fe498d66c81d623110b (diff) | |
| download | go-aae81d948cb7b4fb6e55b96cbba6ae2131d46e25.tar.xz | |
net/http: start of making all relevant tests test both http1 and http2
This CL adds skipped failing tests, showing differences between HTTP/1
and HTTP/2 behavior. They'll be fixed in later commits.
Only a tiny fraction of the net/http tests have been split into their
"_h1" and "_h2" variants. That will also continue. (help welcome)
Updates #6891
Updates #13315
Updates #13316
Updates #13317
Change-Id: I16c3c381dbe267a3098fb266ab0d804c36473a64
Reviewed-on: https://go-review.googlesource.com/17046
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/net/http/export_test.go')
| -rw-r--r-- | src/net/http/export_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/http/export_test.go b/src/net/http/export_test.go index e530f7e578..6e6d1cd725 100644 --- a/src/net/http/export_test.go +++ b/src/net/http/export_test.go @@ -133,4 +133,8 @@ var ExportErrRequestCanceled = errRequestCanceled var ExportServeFile = serveFile +var ExportHttp2ConfigureTransport = http2ConfigureTransport + +var ExportHttp2ConfigureServer = http2ConfigureServer + func SetTestHookServerServe(fn func(*Server, net.Listener)) { testHookServerServe = fn } |
