commit | 21a9c9cfe9c352d62331f669e1ba8568cc59b4d8 | [log] [tgz] |
---|---|---|
author | Antonio Ojea <antonio.ojea.garcia@gmail.com> | Thu Nov 25 23:12:39 2021 +0100 |
committer | Carlos Amedee <carlos@golang.org> | Thu Jan 06 01:20:31 2022 +0000 |
tree | 716a9f2cacc546be46e719cf05a5f4d2ed7d9408 | |
parent | 84cba5454cafa5c2072c34c3056947de39fe3bbc [diff] |
[internal-branch.go1.17-vendor] http2: prioritize RST_STREAM frames in random write scheduler The http2 random write scheduler should not queue RST_STREAM frames with the DATA frames, and instead treat them as control frames. There can be deadlock situations if data frames block the queue, because if the sender wants to close the stream it sends an RST frame, but if the client is not draining the queue, the RST frame is stuck and the sender is not able to finish. For golang/go#49741 Updates golang/go#49921 Change-Id: I0940a76d1aad95f1c4d3856e4d79cf5ce2a78ff2 Reviewed-on: https://go-review.googlesource.com/c/net/+/367154 Trust: Dave Cheney <dave@cheney.net> Reviewed-by: Damien Neil <dneil@google.com> Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> (cherry picked from commit 04296fa82e83b85317bd93ad50dd00460d6d7940) Reviewed-on: https://go-review.googlesource.com/c/net/+/375719 Run-TryBot: Carlos Amedee <carlos@golang.org> Trust: Dmitri Shuralyov <dmitshur@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.