aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authorAlan Donovan <adonovan@google.com>2025-09-26 13:03:12 -0400
committerGopher Robot <gobot@golang.org>2025-10-16 04:23:16 -0700
commit6cbe0920c43a2abe6395bf12256b55abe27f334f (patch)
tree81b90ca6476ead5e719436669af11f3ca4a28ccb /src/net/http
parent45eee553e29770a264c378bccbb80c44807609f4 (diff)
downloadgo-6cbe0920c43a2abe6395bf12256b55abe27f334f.tar.xz
cmd: update to x/tools@7d9453cc
go get golang.org/x/tools@master go mod tidy go mod vendor in both cmd and src, for (enforced) consistency. Also: GOWORK=off go generate -run=bundle std This will enable use of modernize and inline. Change-Id: I6348dd97ec2c41437b3ca899ed91f10815f2fe26 Reviewed-on: https://go-review.googlesource.com/c/go/+/707135 Reviewed-by: Michael Matloob <matloob@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Alan Donovan <adonovan@google.com> Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to 'src/net/http')
-rw-r--r--src/net/http/h2_bundle.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/http/h2_bundle.go b/src/net/http/h2_bundle.go
index f09e102efb..0df276321c 100644
--- a/src/net/http/h2_bundle.go
+++ b/src/net/http/h2_bundle.go
@@ -11695,6 +11695,12 @@ func (ws *http2priorityWriteSchedulerRFC9218) AdjustStream(streamID uint32, prio
q.prev.next = q
q.next.prev = q
}
+
+ // Update the metadata.
+ ws.streams[streamID] = http2streamMetadata{
+ location: q,
+ priority: priority,
+ }
}
func (ws *http2priorityWriteSchedulerRFC9218) Push(wr http2FrameWriteRequest) {