Source File
client_priority_go126.go
Belonging Package
golang.org/x/net/http2
// Copyright 2026 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.//go:build !go1.27package http2import// Support for go.dev/issue/75500 is added in Go 1.27. In case anyone uses// x/net with versions before Go 1.27, we return true here so that their write// scheduler will still be the round-robin write scheduler rather than the RFC// 9218 write scheduler. That way, older users of Go will not see a sudden// change of behavior just from importing x/net.//// TODO(nsh): remove this file after x/net go.mod is at Go 1.27.func clientPriorityDisabled( *http.Server) bool {return true}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |