commit | c1862201935528481fbb456d53d3ff54ee78b59c | [log] [tgz] |
---|---|---|
author | Antonio Ojea <antonio.ojea.garcia@gmail.com> | Sun Jan 30 21:04:43 2022 +0100 |
committer | Damien Neil <dneil@google.com> | Tue May 31 18:57:40 2022 +0000 |
tree | a33ed359fc1dca7ebf30119ec6ca9560436d6827 | |
parent | 5463443f8c37385b27d97f9604d289fd52b41714 [diff] |
http2: prioritize RST_STREAM frames in priority write scheduler The http2 priority 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. Fixes golang/go#49741 Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com> Change-Id: Ie4462603380039f7aba8f701fe810d1d84376efa Reviewed-on: https://go-review.googlesource.com/c/net/+/382014 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Damien Neil <dneil@google.com> Run-TryBot: Dave Cheney <dave@cheney.net> 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.