|author||Michael Fraenkel <firstname.lastname@example.org>||Mon Jul 27 23:32:47 2020 -0600|
|committer||Dmitri Shuralyov <email@example.com>||Thu Oct 08 22:37:02 2020 +0000|
[release-branch.go1.15] net/http2: send WINDOW_UPDATE on a body's write failure When the body.Write fails during processData, the connection flow control must be updated to account for the data received. The connection's WINDOW_UPDATE should reflect the amount of data that was not successfully written. The stream is about to be closed, so no update is required. Updates golang/go#40423. Fixes golang/go#41387. Change-Id: I546597cedf3715e6617babcb3b62140bf1857a27 Reviewed-on: https://go-review.googlesource.com/c/net/+/245158 Reviewed-by: Emmanuel Odeke <firstname.lastname@example.org> Reviewed-by: Ian Lance Taylor <email@example.com> Run-TryBot: Emmanuel Odeke <firstname.lastname@example.org> TryBot-Result: Go Bot <email@example.com> Trust: Emmanuel Odeke <firstname.lastname@example.org> (cherry picked from commit 5d4f7005572804eaf7f5ecdd2473a62557f733ba) Reviewed-on: https://go-review.googlesource.com/c/net/+/258478 Run-TryBot: Dmitri Shuralyov <email@example.com> Trust: Dmitri Shuralyov <firstname.lastname@example.org>
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
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.