commit | 1d1ef9303861d099ec7e69ccb17377e0c443542d | [log] [tgz] |
---|---|---|
author | Jorropo <jorropo.pgm@gmail.com> | Thu Apr 21 00:45:06 2022 +0200 |
committer | Gopher Robot <gobot@golang.org> | Thu Apr 21 23:57:06 2022 +0000 |
tree | a44c5e806ec6b01daff9f07b2f2f06d748bb2b3d | |
parent | 1850ba15e1bead26ce105d30e15374864d8eff07 [diff] |
http2: use custom concurrent safe noBodyReader type when no body is present Previously it used to use an empty bytes.Reader. However bytes.Reader is concurrent safe when empty only on Read, that an issue now that io.NopCloser forwards WriteTo. Change-Id: Icdbd63876394b66ae8f3c8d410dc81a9b8dff33b Reviewed-on: https://go-review.googlesource.com/c/net/+/401014 Reviewed-by: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> Auto-Submit: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@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.