commit | 3e050b2a6614a327016e83395d3ec913defd833f | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@golang.org> | Mon Nov 27 20:02:19 2017 +0000 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Mon Nov 27 21:30:32 2017 +0000 |
tree | 603c50cd9a7717c0a7b6bbdc8590e5f566e38419 | |
parent | c7086645de248775cbf2373cf5ca4d2fa664b8c1 [diff] |
http2: don't crash in Transport on server's DATA following bogus HEADERS In golang/go#22880, our http2 server was sending a HEADERS response without a :status header. Our client code correctly returned an error from RoundTrip, but we forgot to clean up properly, and then subsequently crashed on a DATA frame. This fixes the Transport crash. A fix for the server bug will come separately. Change-Id: Iea3bcf4a8c95963c8b5e2b6dd722177607bd1bc1 Reviewed-on: https://go-review.googlesource.com/80056 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tom Bergan <tombergan@google.com>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.