commit | 42b11863606139133313f265e6cf2a4d1d8ca972 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Wed Mar 01 15:35:42 2023 -0800 |
committer | Damien Neil <dneil@google.com> | Thu Oct 10 22:34:18 2024 +0000 |
tree | 68dafa7c940da5bdf971d90c9de7cabc166e6322 | |
parent | 6cc5ac4e9a03d73b331eb1d6db98a02e558243b7 [diff] |
http2: support ResponseController.EnableFullDuplex The ResponseController.EnableFullDuplex method indicates that an HTTP handler intends to interleave reads from a request body with writes to the response body. Add an EnableFullDuplex method to the ResponseWriter so we don't return a not-supported error. The HTTP/2 server always supports full duplex, so this is a no-op. For golang/go#57786 Change-Id: I6529e6ce01d59b8b48fb67ba7c244255df57c174 Reviewed-on: https://go-review.googlesource.com/c/net/+/472717 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Дарья Бочкар <dasha7vanya@gmail.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.