commit | 13a9a731de15b8d0963ba6b1ed8c7a606ef3d0f3 | [log] [tgz] |
---|---|---|
author | Ronak Jain <ronakjainc@gmail.com> | Sun Aug 07 19:37:05 2022 +0000 |
committer | Damien Neil <dneil@google.com> | Thu Aug 11 18:24:39 2022 +0000 |
tree | 5e1115c8bbdf06e92932af89834d5e1538880811 | |
parent | 07c6da5e1ced2eb683626e9a7d00e0fa0c518eb7 [diff] |
http2: fix conn flow control when stream closes on bad content-length HTTP2 server does not send WINDOW_UPDATE when the client sends more data than declared in the content-length header. Client flow control can eventually run out of available bytes which hangs the client connection as it cannot write DATA frames for any stream any longer. Fixes: golang/go#54185 Change-Id: I48ae3212fb31ce302715abe129adf5c9625faf12 GitHub-Last-Rev: 1351d3b416b6ecbfc396b7a7d43dba5115b4aaf7 GitHub-Pull-Request: golang/net#143 Reviewed-on: https://go-review.googlesource.com/c/net/+/421974 Reviewed-by: Than McIntosh <thanm@google.com> Run-TryBot: Damien Neil <dneil@google.com> Reviewed-by: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.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 $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.