From c498a45b333695257099f4000ba9ca93803ee99e Mon Sep 17 00:00:00 2001 From: Emmanuel Odeke Date: Fri, 4 Dec 2015 14:49:45 -0700 Subject: [PATCH] net/http: Connection:close test is h1 specific Change-Id: I77e4df7ab0bc20d2e251c1eda9ce9026484b8bbc Reviewed-on: https://go-review.googlesource.com/17433 Reviewed-by: Brad Fitzpatrick --- src/net/http/transport_test.go | 1 + 1 file changed, 1 insertion(+) 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)