]> Cypherpunks repositories - gostls13.git/commit
net/http: reject faux HTTP/0.9 and HTTP/2+ requests
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 27 Jun 2016 17:28:08 +0000 (10:28 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 27 Jun 2016 21:07:11 +0000 (21:07 +0000)
commit3e9d6e064d554edeed9c55325832844403ae5d3f
tree691bf238dff2fe09a8680488686f392c38b930f7
parente0f986bf26b72749553e45cad34f14d7d4166acb
net/http: reject faux HTTP/0.9 and HTTP/2+ requests

Fixes #16197

Change-Id: Icaabacbb22bc18c52b9e04b47385ac5325fcccd1
Reviewed-on: https://go-review.googlesource.com/24505
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/http/serve_test.go
src/net/http/server.go