From: Emmanuel Odeke Date: Fri, 4 Dec 2015 21:49:45 +0000 (-0700) Subject: net/http: Connection:close test is h1 specific X-Git-Tag: go1.6beta1~194 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c498a45b333695257099f4000ba9ca93803ee99e;p=gostls13.git net/http: Connection:close test is h1 specific Change-Id: I77e4df7ab0bc20d2e251c1eda9ce9026484b8bbc Reviewed-on: https://go-review.googlesource.com/17433 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/net/http/transport_test.go b/src/net/http/transport_test.go index d07e233249..322d9bd81c 100644 --- a/src/net/http/transport_test.go +++ b/src/net/http/transport_test.go @@ -260,6 +260,7 @@ func TestTransportConnectionCloseOnRequest(t *testing.T) { // if the Transport's DisableKeepAlives is set, all requests should // send Connection: close. +// HTTP/1-only (Connection: close doesn't exist in h2) func TestTransportConnectionCloseOnRequestDisableKeepAlive(t *testing.T) { defer afterTest(t) ts := httptest.NewServer(hostPortHandler)