net/http: update bundled http2

Updates bundled x/net/http2 to git rev 1195a05d for:

    http2: fix incorrect panic

    http2: fix race in writePushPromise

    http2: speed up TestTransportFlowControl in short mode

    http2: don't flush a stream's write queue in sc.resetStream

    http2: allow Transport to connect to https://[v6literal]/ without port

    http2: log Framer reads and writes when a server test fails

Updates #18326
Updates #18273
Updates #18111
Updates #18248
Updates #18235

Change-Id: I18c7a297fc94d6a843284efcfc43e0fdab9b5f41
Run-TryBot: Chris Broadfoot <>
TryBot-Result: Gobot Gobot <>
Reviewed-by: Brad Fitzpatrick <>
1 file changed
tree: f8453f93a085ef1442316efd0455eea8e4292857
  1. .github/
  2. api/
  3. doc/
  4. lib/
  5. misc/
  6. src/
  7. test/
  8. .gitattributes
  9. .gitignore
  13. favicon.ico
  17. robots.txt

The Go Programming Language

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.

Gopher image

For documentation about how to install and use Go, visit or load doc/install-source.html in your web browser.

Our canonical Git repository is located at There is a mirror of the repository at

Go is the work of hundreds of contributors. We appreciate your help!

To contribute, please read the contribution guidelines:

Note that we do not accept pull requests and that we use the issue tracker for bug reports and proposals only. Please ask questions on or!forum/golang-nuts.

Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.

Binary Distribution Notes

If you have just untarred a binary Go distribution, you need to set the environment variable $GOROOT to the full path of the go directory (the one containing this file). You can omit the variable if you unpack it into /usr/local/go, or if you rebuild from sources by running all.bash (see doc/install-source.html). You should also add the Go binary directory $GOROOT/bin to your shell's path.

For example, if you extracted the tar file into $HOME/go, you might put the following in your .profile:

export GOROOT=$HOME/go
export PATH=$PATH:$GOROOT/bin

See or doc/install.html for more details.