commit | f2f64ebce3c1a8a57a7c90979e4d50ee5cf4508a | [log] [tgz] |
---|---|---|
author | Michael Fraenkel <michael.fraenkel@gmail.com> | Sun Nov 18 22:28:14 2018 -0500 |
committer | Damien Neil <dneil@google.com> | Mon Sep 19 23:24:10 2022 +0000 |
tree | 0fade0528c08434070e2bd1fcc577b822573e298 | |
parent | ca03788e71a2a44e572151b901183c887c0ff4e6 [diff] |
http2: Send WindowUpdates when remaining bytes are below a threshold Rather than send a WindowUpdate on every chunk of bytes read, allow them to collect until we go past half the configured window size. Once the threshold is reached, send a single WindowUpdate to reset the amount back to the maximum amount configured. Fixes golang/go#28732 Change-Id: I177f962ee0a9b8daa1c4817e0ab7698e828bad96 Reviewed-on: https://go-review.googlesource.com/c/net/+/150197 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.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.